META-INF/MANIFEST.MF
META-INF/services/java.sql.Driver
org/h2/api/AggregateFunction.classAggregateFunction.java
package org.h2.api
public abstract org.h2.api.AggregateFunction extends java.lang.Object {
public abstract void init (java.sql.Connection) throws java.sql.SQLException
public abstract int getType (int[]) throws java.sql.SQLException
public abstract void add (java.lang.Object) throws java.sql.SQLException
public abstract java.lang.Object getResult () throws java.sql.SQLException
}
org/h2/api/DatabaseEventListener.classDatabaseEventListener.java
package org.h2.api
public abstract org.h2.api.DatabaseEventListener extends java.lang.Object implements java.util.EventListener {
public static final int STATE_SCAN_FILE
public static final int STATE_CREATE_INDEX
public static final int STATE_RECOVER
public static final int STATE_BACKUP_FILE
public static final int STATE_RECONNECTED
public abstract void init (java.lang.String)
public abstract void opened ()
public abstract void diskSpaceIsLow ()
public abstract void exceptionThrown (java.sql.SQLException, java.lang.String)
public abstract void setProgress (int, java.lang.String, int, int)
public abstract void closingDatabase ()
}
org/h2/api/TableEngine.classTableEngine.java
package org.h2.api
public abstract org.h2.api.TableEngine extends java.lang.Object {
public abstract org.h2.table.TableBase createTable (org.h2.command.ddl.CreateTableData)
}
org/h2/api/Trigger.classTrigger.java
package org.h2.api
public abstract org.h2.api.Trigger extends java.lang.Object {
public static final int INSERT
public static final int UPDATE
public static final int DELETE
public static final int SELECT
public abstract void init (java.sql.Connection, java.lang.String, java.lang.String, java.lang.String, boolean, int) throws java.sql.SQLException
public abstract void fire (java.sql.Connection, java.lang.Object[], java.lang.Object[]) throws java.sql.SQLException
public abstract void close () throws java.sql.SQLException
public abstract void remove () throws java.sql.SQLException
}
org/h2/bnf/Bnf.classBnf.java
package org.h2.bnf
public org.h2.bnf.Bnf extends java.lang.Object {
private final java.util.HashMap ruleMap
private String syntax
private String currentToken
private String[] tokens
private char firstChar
private int index
private org.h2.bnf.Rule lastRepeat
private java.util.ArrayList statements
private String currentTopic
public void ()
public static org.h2.bnf.Bnf getInstance (java.io.Reader) throws java.sql.SQLException java.io.IOException
private void addFixedRule (java.lang.String, int)
private org.h2.bnf.RuleHead addRule (java.lang.String, java.lang.String, org.h2.bnf.Rule)
private void parse (java.io.Reader) throws java.sql.SQLException java.io.IOException
public void visit (org.h2.bnf.BnfVisitor, java.lang.String)
public static java.lang.String getRuleMapKey (java.lang.String)
public org.h2.bnf.RuleHead getRuleHead (java.lang.String)
private org.h2.bnf.Rule parseRule ()
private org.h2.bnf.Rule parseOr ()
private org.h2.bnf.Rule parseList ()
private org.h2.bnf.Rule parseToken ()
private void read ()
private java.lang.String[] tokenize ()
public java.util.HashMap getNextTokenList (java.lang.String)
public void linkStatements ()
public void updateTopic (java.lang.String, org.h2.server.web.DbContextRule)
public java.util.ArrayList getStatements ()
public java.util.StringTokenizer getTokenizer (java.lang.String)
}
org/h2/bnf/BnfVisitor.classBnfVisitor.java
package org.h2.bnf
public abstract org.h2.bnf.BnfVisitor extends java.lang.Object {
public abstract void visitRuleElement (boolean, java.lang.String, org.h2.bnf.Rule)
public abstract void visitRuleRepeat (boolean, org.h2.bnf.Rule)
public abstract void visitRuleFixed (int)
public abstract void visitRuleList (boolean, java.util.ArrayList)
public abstract void visitRuleOptional (org.h2.bnf.Rule)
}
org/h2/bnf/Rule.classRule.java
package org.h2.bnf
public abstract org.h2.bnf.Rule extends java.lang.Object {
public abstract java.lang.String name ()
public abstract void setLinks (java.util.HashMap)
public abstract void addNextTokenList (org.h2.bnf.Sentence)
public abstract boolean matchRemove (org.h2.bnf.Sentence)
public abstract void accept (org.h2.bnf.BnfVisitor)
}
org/h2/bnf/RuleElement.classRuleElement.java
package org.h2.bnf
public org.h2.bnf.RuleElement extends java.lang.Object implements org.h2.bnf.Rule {
private boolean keyword
private String name
private org.h2.bnf.Rule link
private int type
void (java.lang.String, java.lang.String)
public java.lang.String toString ()
public void accept (org.h2.bnf.BnfVisitor)
public java.lang.String name ()
public void setLinks (java.util.HashMap)
public boolean matchRemove (org.h2.bnf.Sentence)
public void addNextTokenList (org.h2.bnf.Sentence)
}
org/h2/bnf/RuleFixed.classRuleFixed.java
package org.h2.bnf
public org.h2.bnf.RuleFixed extends java.lang.Object implements org.h2.bnf.Rule {
public static final int YMD
public static final int HMS
public static final int NANOS
public static final int ANY_EXCEPT_SINGLE_QUOTE
public static final int ANY_EXCEPT_DOUBLE_QUOTE
public static final int ANY_UNTIL_EOL
public static final int ANY_UNTIL_END
public static final int ANY_WORD
public static final int ANY_EXCEPT_2_DOLLAR
public static final int HEX_START
public static final int CONCAT
public static final int AZ_UNDERSCORE
public static final int AF
public static final int DIGIT
public static final int OPEN_BRACKET
public static final int CLOSE_BRACKET
private final int type
void (int)
public java.lang.String toString ()
public void accept (org.h2.bnf.BnfVisitor)
public java.lang.String name ()
public void setLinks (java.util.HashMap)
public boolean matchRemove (org.h2.bnf.Sentence)
public void addNextTokenList (org.h2.bnf.Sentence)
}
org/h2/bnf/RuleHead.classRuleHead.java
package org.h2.bnf
public org.h2.bnf.RuleHead extends java.lang.Object {
private final String section
private final String topic
private org.h2.bnf.Rule rule
void (java.lang.String, java.lang.String, org.h2.bnf.Rule)
public java.lang.String getTopic ()
public org.h2.bnf.Rule getRule ()
void setRule (org.h2.bnf.Rule)
public java.lang.String getSection ()
}
org/h2/bnf/RuleList.classRuleList.java
package org.h2.bnf
public org.h2.bnf.RuleList extends java.lang.Object implements org.h2.bnf.Rule {
private boolean or
private java.util.ArrayList list
private boolean mapSet
void (org.h2.bnf.Rule, org.h2.bnf.Rule, boolean)
public java.lang.String toString ()
public void accept (org.h2.bnf.BnfVisitor)
public java.lang.String name ()
public void setLinks (java.util.HashMap)
public boolean matchRemove (org.h2.bnf.Sentence)
public void addNextTokenList (org.h2.bnf.Sentence)
}
org/h2/bnf/RuleOptional.classRuleOptional.java
package org.h2.bnf
public org.h2.bnf.RuleOptional extends java.lang.Object implements org.h2.bnf.Rule {
private org.h2.bnf.Rule rule
private boolean mapSet
void (org.h2.bnf.Rule)
public java.lang.String toString ()
public void accept (org.h2.bnf.BnfVisitor)
public java.lang.String name ()
public void setLinks (java.util.HashMap)
public boolean matchRemove (org.h2.bnf.Sentence)
public void addNextTokenList (org.h2.bnf.Sentence)
}
org/h2/bnf/RuleRepeat.classRuleRepeat.java
package org.h2.bnf
public org.h2.bnf.RuleRepeat extends java.lang.Object implements org.h2.bnf.Rule {
private final org.h2.bnf.Rule rule
private final boolean comma
void (org.h2.bnf.Rule, boolean)
public java.lang.String toString ()
public void accept (org.h2.bnf.BnfVisitor)
public java.lang.String name ()
public void setLinks (java.util.HashMap)
public boolean matchRemove (org.h2.bnf.Sentence)
public void addNextTokenList (org.h2.bnf.Sentence)
}
org/h2/bnf/Sentence.classSentence.java
package org.h2.bnf
public org.h2.bnf.Sentence extends java.lang.Object {
public static final int CONTEXT
static final int KEYWORD
static final int FUNCTION
private static final long MAX_PROCESSING_TIME
private java.util.HashMap next
private String query
private String queryUpper
private long stopAt
private org.h2.server.web.DbSchema lastMatchedSchema
private org.h2.server.web.DbTableOrView lastMatchedTable
private org.h2.server.web.DbTableOrView lastTable
private java.util.HashSet tables
private java.util.HashMap aliases
public void ()
void start ()
boolean shouldStop ()
public void add (java.lang.String, java.lang.String, int)
public void addAlias (java.lang.String, org.h2.server.web.DbTableOrView)
public void addTable (org.h2.server.web.DbTableOrView)
public java.util.HashSet getTables ()
public java.util.HashMap getAliases ()
public org.h2.server.web.DbTableOrView getLastTable ()
public org.h2.server.web.DbSchema getLastMatchedSchema ()
public void setLastMatchedSchema (org.h2.server.web.DbSchema)
public void setLastMatchedTable (org.h2.server.web.DbTableOrView)
public org.h2.server.web.DbTableOrView getLastMatchedTable ()
public void setQuery (java.lang.String)
public java.lang.String getQuery ()
public java.lang.String getQueryUpper ()
java.util.HashMap getNext ()
}
org/h2/command/Command.classCommand.java
package org.h2.command
public abstract org.h2.command.Command extends java.lang.Object implements org.h2.command.CommandInterface {
protected final org.h2.engine.Session session
protected final org.h2.message.Trace trace
protected long startTime
private volatile boolean cancel
private final String sql
public void (org.h2.command.Parser, java.lang.String)
public abstract boolean isTransactional ()
public abstract boolean isQuery ()
public abstract java.util.ArrayList getParameters ()
public abstract boolean isReadOnly ()
public abstract org.h2.result.ResultInterface queryMeta ()
public int update ()
public org.h2.result.ResultInterface query (int)
public final org.h2.result.ResultInterface getMetaData ()
public org.h2.result.ResultInterface executeQuery (int, boolean)
void start ()
public void checkCanceled ()
private void stop ()
public int executeUpdate ()
public void close ()
public void cancel ()
public java.lang.String toString ()
public boolean isCacheable ()
}
org/h2/command/CommandContainer.classCommandContainer.java
package org.h2.command
public org.h2.command.CommandContainer extends org.h2.command.Command {
private org.h2.command.Prepared prepared
void (org.h2.command.Parser, java.lang.String, org.h2.command.Prepared)
public java.util.ArrayList getParameters ()
public boolean isTransactional ()
public boolean isQuery ()
private void recompileIfRequired ()
public int update ()
public org.h2.result.ResultInterface query (int)
public boolean isReadOnly ()
public org.h2.result.ResultInterface queryMeta ()
public boolean isCacheable ()
public int getCommandType ()
}
org/h2/command/CommandInterface.classCommandInterface.java
package org.h2.command
public abstract org.h2.command.CommandInterface extends java.lang.Object {
public static final int UNKNOWN
public static final int ALTER_INDEX_RENAME
public static final int ALTER_SCHEMA_RENAME
public static final int ALTER_TABLE_ADD_CONSTRAINT_CHECK
public static final int ALTER_TABLE_ADD_CONSTRAINT_UNIQUE
public static final int ALTER_TABLE_ADD_CONSTRAINT_REFERENTIAL
public static final int ALTER_TABLE_ADD_CONSTRAINT_PRIMARY_KEY
public static final int ALTER_TABLE_ADD_COLUMN
public static final int ALTER_TABLE_ALTER_COLUMN_NOT_NULL
public static final int ALTER_TABLE_ALTER_COLUMN_NULL
public static final int ALTER_TABLE_ALTER_COLUMN_DEFAULT
public static final int ALTER_TABLE_ALTER_COLUMN_CHANGE_TYPE
public static final int ALTER_TABLE_DROP_COLUMN
public static final int ALTER_TABLE_ALTER_COLUMN_SELECTIVITY
public static final int ALTER_TABLE_DROP_CONSTRAINT
public static final int ALTER_TABLE_RENAME
public static final int ALTER_TABLE_ALTER_COLUMN_RENAME
public static final int ALTER_USER_ADMIN
public static final int ALTER_USER_RENAME
public static final int ALTER_USER_SET_PASSWORD
public static final int ALTER_VIEW
public static final int ANALYZE
public static final int CREATE_AGGREGATE
public static final int CREATE_CONSTANT
public static final int CREATE_ALIAS
public static final int CREATE_INDEX
public static final int CREATE_LINKED_TABLE
public static final int CREATE_ROLE
public static final int CREATE_SCHEMA
public static final int CREATE_SEQUENCE
public static final int CREATE_TABLE
public static final int CREATE_TRIGGER
public static final int CREATE_USER
public static final int CREATE_DOMAIN
public static final int CREATE_VIEW
public static final int DEALLOCATE
public static final int DROP_AGGREGATE
public static final int DROP_CONSTANT
public static final int DROP_ALL_OBJECTS
public static final int DROP_ALIAS
public static final int DROP_INDEX
public static final int DROP_ROLE
public static final int DROP_SCHEMA
public static final int DROP_SEQUENCE
public static final int DROP_TABLE
public static final int DROP_TRIGGER
public static final int DROP_USER
public static final int DROP_DOMAIN
public static final int DROP_VIEW
public static final int GRANT
public static final int REVOKE
public static final int PREPARE
public static final int COMMENT
public static final int TRUNCATE_TABLE
public static final int ALTER_SEQUENCE
public static final int ALTER_TABLE_SET_REFERENTIAL_INTEGRITY
public static final int BACKUP
public static final int CALL
public static final int DELETE
public static final int EXECUTE
public static final int EXPLAIN
public static final int INSERT
public static final int MERGE
public static final int NO_OPERATION
public static final int RUNSCRIPT
public static final int SCRIPT
public static final int SELECT
public static final int SET
public static final int UPDATE
public static final int SET_AUTOCOMMIT_TRUE
public static final int SET_AUTOCOMMIT_FALSE
public static final int COMMIT
public static final int ROLLBACK
public static final int CHECKPOINT
public static final int SAVEPOINT
public static final int ROLLBACK_TO_SAVEPOINT
public static final int CHECKPOINT_SYNC
public static final int PREPARE_COMMIT
public static final int COMMIT_TRANSACTION
public static final int ROLLBACK_TRANSACTION
public static final int SHUTDOWN
public static final int SHUTDOWN_IMMEDIATELY
public static final int SHUTDOWN_COMPACT
public static final int BEGIN
public static final int SHUTDOWN_DEFRAG
public abstract int getCommandType ()
public abstract boolean isQuery ()
public abstract java.util.ArrayList getParameters ()
public abstract org.h2.result.ResultInterface executeQuery (int, boolean)
public abstract int executeUpdate ()
public abstract void close ()
public abstract void cancel ()
public abstract org.h2.result.ResultInterface getMetaData ()
}
org/h2/command/CommandList.classCommandList.java
package org.h2.command
public org.h2.command.CommandList extends org.h2.command.Command {
private final org.h2.command.Command command
private final String remaining
public void (org.h2.command.Parser, java.lang.String, org.h2.command.Command, java.lang.String)
public java.util.ArrayList getParameters ()
private void executeRemaining ()
public int update ()
public org.h2.result.ResultInterface query (int)
public boolean isQuery ()
public boolean isTransactional ()
public boolean isReadOnly ()
public org.h2.result.ResultInterface queryMeta ()
public int getCommandType ()
}
org/h2/command/CommandRemote.classCommandRemote.java
package org.h2.command
public org.h2.command.CommandRemote extends java.lang.Object implements org.h2.command.CommandInterface {
private final java.util.ArrayList transferList
private final java.util.ArrayList parameters
private final org.h2.message.Trace trace
private final String sql
private final int fetchSize
private org.h2.engine.SessionRemote session
private int id
private boolean isQuery
private boolean readonly
private int paramCount
private int created
public void (org.h2.engine.SessionRemote, java.util.ArrayList, java.lang.String, int)
private void prepare (org.h2.engine.SessionRemote, boolean)
public boolean isQuery ()
public java.util.ArrayList getParameters ()
private void prepareIfRequired ()
public org.h2.result.ResultInterface getMetaData ()
public org.h2.result.ResultInterface executeQuery (int, boolean)
public int executeUpdate ()
private void checkParameters ()
private void sendParameters (org.h2.value.Transfer) throws java.io.IOException
public void close ()
public void cancel ()
public java.lang.String toString ()
public int getCommandType ()
}
org/h2/command/ddl/AlterIndexRename.classAlterIndexRename.java
package org.h2.command.ddl
public org.h2.command.ddl.AlterIndexRename extends org.h2.command.ddl.DefineCommand {
private org.h2.index.Index oldIndex
private String newIndexName
public void (org.h2.engine.Session)
public void setOldIndex (org.h2.index.Index)
public void setNewName (java.lang.String)
public int update ()
public int getType ()
}
org/h2/command/ddl/AlterSchemaRename.classAlterSchemaRename.java
package org.h2.command.ddl
public org.h2.command.ddl.AlterSchemaRename extends org.h2.command.ddl.DefineCommand {
private org.h2.schema.Schema oldSchema
private String newSchemaName
public void (org.h2.engine.Session)
public void setOldSchema (org.h2.schema.Schema)
public void setNewName (java.lang.String)
public int update ()
public int getType ()
}
org/h2/command/ddl/AlterTableAddConstraint.classAlterTableAddConstraint.java
package org.h2.command.ddl
public org.h2.command.ddl.AlterTableAddConstraint extends org.h2.command.ddl.SchemaCommand {
private int type
private String constraintName
private String tableName
private org.h2.table.IndexColumn[] indexColumns
private int deleteAction
private int updateAction
private org.h2.schema.Schema refSchema
private String refTableName
private org.h2.table.IndexColumn[] refIndexColumns
private org.h2.expression.Expression checkExpression
private org.h2.index.Index index
private org.h2.index.Index refIndex
private String comment
private boolean checkExisting
private boolean primaryKeyHash
private boolean ifNotExists
public void (org.h2.engine.Session, org.h2.schema.Schema, boolean)
private java.lang.String generateConstraintName (org.h2.table.Table)
public int update ()
public int tryUpdate ()
private org.h2.index.Index createIndex (org.h2.table.Table, org.h2.table.IndexColumn[], boolean)
public void setDeleteAction (int)
public void setUpdateAction (int)
private org.h2.index.Index getUniqueIndex (org.h2.table.Table, org.h2.table.IndexColumn[])
private org.h2.index.Index getIndex (org.h2.table.Table, org.h2.table.IndexColumn[])
private boolean canUseUniqueIndex (org.h2.index.Index, org.h2.table.Table, org.h2.table.IndexColumn[])
private boolean canUseIndex (org.h2.index.Index, org.h2.table.Table, org.h2.table.IndexColumn[])
public void setConstraintName (java.lang.String)
public void setType (int)
public int getType ()
public void setCheckExpression (org.h2.expression.Expression)
public void setTableName (java.lang.String)
public void setIndexColumns (org.h2.table.IndexColumn[])
public org.h2.table.IndexColumn[] getIndexColumns ()
public void setRefTableName (org.h2.schema.Schema, java.lang.String)
public void setRefIndexColumns (org.h2.table.IndexColumn[])
public void setIndex (org.h2.index.Index)
public void setRefIndex (org.h2.index.Index)
public void setComment (java.lang.String)
public void setCheckExisting (boolean)
public void setPrimaryKeyHash (boolean)
}
org/h2/command/ddl/AlterTableAlterColumn.classAlterTableAlterColumn.java
package org.h2.command.ddl
public org.h2.command.ddl.AlterTableAlterColumn extends org.h2.command.ddl.SchemaCommand {
private org.h2.table.Table table
private org.h2.table.Column oldColumn
private org.h2.table.Column newColumn
private int type
private org.h2.expression.Expression defaultExpression
private org.h2.expression.Expression newSelectivity
private String addBefore
public void (org.h2.engine.Session, org.h2.schema.Schema)
public void setTable (org.h2.table.Table)
public void setOldColumn (org.h2.table.Column)
public void setAddBefore (java.lang.String)
public int update ()
private void convertAutoIncrementColumn (org.h2.table.Column)
private void removeSequence (org.h2.schema.Sequence)
private void copyData ()
private org.h2.table.Table cloneTableStructure (org.h2.table.Column[], org.h2.engine.Database, java.lang.String, java.util.ArrayList)
private java.util.List checkViews (org.h2.schema.SchemaObject, org.h2.schema.SchemaObject)
private void checkViewsAreValid (org.h2.engine.DbObject, java.util.List)
private void execute (java.lang.String, boolean)
private void dropSingleColumnIndexes ()
private void checkNullable ()
private void checkNoNullValues ()
public void setType (int)
public void setSelectivity (org.h2.expression.Expression)
public void setDefaultExpression (org.h2.expression.Expression)
public void setNewColumn (org.h2.table.Column)
public int getType ()
}
org/h2/command/ddl/AlterTableDropConstraint.classAlterTableDropConstraint.java
package org.h2.command.ddl
public org.h2.command.ddl.AlterTableDropConstraint extends org.h2.command.ddl.SchemaCommand {
private String constraintName
private boolean ifExists
public void (org.h2.engine.Session, org.h2.schema.Schema, boolean)
public void setConstraintName (java.lang.String)
public int update ()
public int getType ()
}
org/h2/command/ddl/AlterTableRename.classAlterTableRename.java
package org.h2.command.ddl
public org.h2.command.ddl.AlterTableRename extends org.h2.command.ddl.SchemaCommand {
private org.h2.table.Table oldTable
private String newTableName
public void (org.h2.engine.Session, org.h2.schema.Schema)
public void setOldTable (org.h2.table.Table)
public void setNewTableName (java.lang.String)
public int update ()
public int getType ()
}
org/h2/command/ddl/AlterTableRenameColumn.classAlterTableRenameColumn.java
package org.h2.command.ddl
public org.h2.command.ddl.AlterTableRenameColumn extends org.h2.command.ddl.DefineCommand {
private org.h2.table.Table table
private org.h2.table.Column column
private String newName
public void (org.h2.engine.Session)
public void setTable (org.h2.table.Table)
public void setColumn (org.h2.table.Column)
public void setNewColumnName (java.lang.String)
public int update ()
public int getType ()
}
org/h2/command/ddl/AlterUser.classAlterUser.java
package org.h2.command.ddl
public org.h2.command.ddl.AlterUser extends org.h2.command.ddl.DefineCommand {
private int type
private org.h2.engine.User user
private String newName
private org.h2.expression.Expression password
private org.h2.expression.Expression salt
private org.h2.expression.Expression hash
private boolean admin
public void (org.h2.engine.Session)
public void setType (int)
public void setNewName (java.lang.String)
public void setUser (org.h2.engine.User)
public void setAdmin (boolean)
public void setSalt (org.h2.expression.Expression)
public void setHash (org.h2.expression.Expression)
public void setPassword (org.h2.expression.Expression)
private char[] getCharArray (org.h2.expression.Expression)
private byte[] getByteArray (org.h2.expression.Expression)
public int update ()
public int getType ()
}
org/h2/command/ddl/AlterView.classAlterView.java
package org.h2.command.ddl
public org.h2.command.ddl.AlterView extends org.h2.command.ddl.DefineCommand {
private org.h2.table.TableView view
public void (org.h2.engine.Session)
public void setView (org.h2.table.TableView)
public int update ()
public int getType ()
}
org/h2/command/ddl/Analyze.classAnalyze.java
package org.h2.command.ddl
public org.h2.command.ddl.Analyze extends org.h2.command.ddl.DefineCommand {
private int sampleRows
public void (org.h2.engine.Session)
public int update ()
public static void analyzeTable (org.h2.engine.Session, org.h2.table.Table, int, boolean)
public void setTop (int)
public int getType ()
}
org/h2/command/ddl/CreateAggregate.classCreateAggregate.java
package org.h2.command.ddl
public org.h2.command.ddl.CreateAggregate extends org.h2.command.ddl.DefineCommand {
private org.h2.schema.Schema schema
private String name
private String javaClassMethod
private boolean ifNotExists
private boolean force
public void (org.h2.engine.Session)
public int update ()
public void setSchema (org.h2.schema.Schema)
public void setName (java.lang.String)
public void setJavaClassMethod (java.lang.String)
public void setIfNotExists (boolean)
public void setForce (boolean)
public int getType ()
}
org/h2/command/ddl/CreateConstant.classCreateConstant.java
package org.h2.command.ddl
public org.h2.command.ddl.CreateConstant extends org.h2.command.ddl.SchemaCommand {
private String constantName
private org.h2.expression.Expression expression
private boolean ifNotExists
public void (org.h2.engine.Session, org.h2.schema.Schema)
public void setIfNotExists (boolean)
public int update ()
public void setConstantName (java.lang.String)
public void setExpression (org.h2.expression.Expression)
public int getType ()
}
org/h2/command/ddl/CreateFunctionAlias.classCreateFunctionAlias.java
package org.h2.command.ddl
public org.h2.command.ddl.CreateFunctionAlias extends org.h2.command.ddl.SchemaCommand {
private String aliasName
private String javaClassMethod
private boolean deterministic
private boolean ifNotExists
private boolean force
private String source
public void (org.h2.engine.Session, org.h2.schema.Schema)
public int update ()
public void setAliasName (java.lang.String)
public void setJavaClassMethod (java.lang.String)
public void setIfNotExists (boolean)
public void setForce (boolean)
public void setDeterministic (boolean)
public void setSource (java.lang.String)
public int getType ()
}
org/h2/command/ddl/CreateIndex.classCreateIndex.java
package org.h2.command.ddl
public org.h2.command.ddl.CreateIndex extends org.h2.command.ddl.SchemaCommand {
private String tableName
private String indexName
private org.h2.table.IndexColumn[] indexColumns
private boolean primaryKey
private boolean unique
private boolean hash
private boolean ifNotExists
private String comment
public void (org.h2.engine.Session, org.h2.schema.Schema)
public void setIfNotExists (boolean)
public void setTableName (java.lang.String)
public void setIndexName (java.lang.String)
public void setIndexColumns (org.h2.table.IndexColumn[])
public int update ()
public void setPrimaryKey (boolean)
public void setUnique (boolean)
public void setHash (boolean)
public void setComment (java.lang.String)
public int getType ()
}
org/h2/command/ddl/CreateLinkedTable.classCreateLinkedTable.java
package org.h2.command.ddl
public org.h2.command.ddl.CreateLinkedTable extends org.h2.command.ddl.SchemaCommand {
private String tableName
private String driver
private String url
private String user
private String password
private String originalSchema
private String originalTable
private boolean ifNotExists
private String comment
private boolean emitUpdates
private boolean force
private boolean temporary
private boolean globalTemporary
private boolean readOnly
public void (org.h2.engine.Session, org.h2.schema.Schema)
public void setTableName (java.lang.String)
public void setDriver (java.lang.String)
public void setOriginalTable (java.lang.String)
public void setPassword (java.lang.String)
public void setUrl (java.lang.String)
public void setUser (java.lang.String)
public void setIfNotExists (boolean)
public int update ()
public void setEmitUpdates (boolean)
public void setComment (java.lang.String)
public void setForce (boolean)
public void setTemporary (boolean)
public void setGlobalTemporary (boolean)
public void setReadOnly (boolean)
public void setOriginalSchema (java.lang.String)
public int getType ()
}
org/h2/command/ddl/CreateRole.classCreateRole.java
package org.h2.command.ddl
public org.h2.command.ddl.CreateRole extends org.h2.command.ddl.DefineCommand {
private String roleName
private boolean ifNotExists
public void (org.h2.engine.Session)
public void setIfNotExists (boolean)
public void setRoleName (java.lang.String)
public int update ()
public int getType ()
}
org/h2/command/ddl/CreateSchema.classCreateSchema.java
package org.h2.command.ddl
public org.h2.command.ddl.CreateSchema extends org.h2.command.ddl.DefineCommand {
private String schemaName
private String authorization
private boolean ifNotExists
public void (org.h2.engine.Session)
public void setIfNotExists (boolean)
public int update ()
public void setSchemaName (java.lang.String)
public void setAuthorization (java.lang.String)
public int getType ()
}
org/h2/command/ddl/CreateSequence.classCreateSequence.java
package org.h2.command.ddl
public org.h2.command.ddl.CreateSequence extends org.h2.command.ddl.SchemaCommand {
private String sequenceName
private boolean ifNotExists
private org.h2.expression.Expression start
private org.h2.expression.Expression increment
private org.h2.expression.Expression cacheSize
private boolean belongsToTable
public void (org.h2.engine.Session, org.h2.schema.Schema)
public void setSequenceName (java.lang.String)
public void setIfNotExists (boolean)
public int update ()
private long getLong (org.h2.expression.Expression, long)
public void setStartWith (org.h2.expression.Expression)
public void setIncrement (org.h2.expression.Expression)
public void setBelongsToTable (boolean)
public void setCacheSize (org.h2.expression.Expression)
public int getType ()
}
org/h2/command/ddl/CreateTable.classCreateTable.java
package org.h2.command.ddl
public org.h2.command.ddl.CreateTable extends org.h2.command.ddl.SchemaCommand {
private org.h2.command.ddl.CreateTableData data
private java.util.ArrayList constraintCommands
private org.h2.table.IndexColumn[] pkColumns
private boolean ifNotExists
private boolean onCommitDrop
private boolean onCommitTruncate
private org.h2.command.dml.Query asQuery
private String comment
private boolean sortedInsertMode
public void (org.h2.engine.Session, org.h2.schema.Schema)
public void setQuery (org.h2.command.dml.Query)
public void setTemporary (boolean)
public void setTableName (java.lang.String)
public void addColumn (org.h2.table.Column)
public void addConstraintCommand (org.h2.command.ddl.DefineCommand)
public void setIfNotExists (boolean)
public int update ()
private void generateColumnsFromQuery ()
private boolean setPrimaryKeyColumns (org.h2.table.IndexColumn[])
public void setPersistIndexes (boolean)
public void setGlobalTemporary (boolean)
public void setOnCommitDrop ()
public void setOnCommitTruncate ()
public void setComment (java.lang.String)
public void setPersistData (boolean)
public void setSortedInsertMode (boolean)
public void setTableEngine (java.lang.String)
public void setHidden (boolean)
public int getType ()
}
org/h2/command/ddl/CreateTableData.classCreateTableData.java
package org.h2.command.ddl
public org.h2.command.ddl.CreateTableData extends java.lang.Object {
public org.h2.schema.Schema schema
public String tableName
public int id
public java.util.ArrayList columns
public boolean temporary
public boolean globalTemporary
public boolean persistIndexes
public boolean persistData
public boolean create
public org.h2.engine.Session session
public String tableEngine
public boolean isHidden
public void ()
}
org/h2/command/ddl/CreateTrigger.classCreateTrigger.java
package org.h2.command.ddl
public org.h2.command.ddl.CreateTrigger extends org.h2.command.ddl.SchemaCommand {
private String triggerName
private boolean ifNotExists
private boolean insteadOf
private boolean before
private int typeMask
private boolean rowBased
private int queueSize
private boolean noWait
private String tableName
private String triggerClassName
private boolean force
private boolean onRollback
public void (org.h2.engine.Session, org.h2.schema.Schema)
public void setInsteadOf (boolean)
public void setBefore (boolean)
public void setTriggerClassName (java.lang.String)
public void setTypeMask (int)
public void setRowBased (boolean)
public void setQueueSize (int)
public void setNoWait (boolean)
public void setTableName (java.lang.String)
public void setTriggerName (java.lang.String)
public void setIfNotExists (boolean)
public int update ()
public void setForce (boolean)
public void setOnRollback (boolean)
public int getType ()
}
org/h2/command/ddl/CreateUser.classCreateUser.java
package org.h2.command.ddl
public org.h2.command.ddl.CreateUser extends org.h2.command.ddl.DefineCommand {
private String userName
private boolean admin
private org.h2.expression.Expression password
private org.h2.expression.Expression salt
private org.h2.expression.Expression hash
private boolean ifNotExists
private String comment
public void (org.h2.engine.Session)
public void setIfNotExists (boolean)
public void setUserName (java.lang.String)
public void setPassword (org.h2.expression.Expression)
private char[] getCharArray (org.h2.expression.Expression)
private byte[] getByteArray (org.h2.expression.Expression)
public int update ()
public void setSalt (org.h2.expression.Expression)
public void setHash (org.h2.expression.Expression)
public void setAdmin (boolean)
public void setComment (java.lang.String)
public int getType ()
}
org/h2/command/ddl/CreateUserDataType.classCreateUserDataType.java
package org.h2.command.ddl
public org.h2.command.ddl.CreateUserDataType extends org.h2.command.ddl.DefineCommand {
private String typeName
private org.h2.table.Column column
private boolean ifNotExists
public void (org.h2.engine.Session)
public void setTypeName (java.lang.String)
public void setColumn (org.h2.table.Column)
public void setIfNotExists (boolean)
public int update ()
public int getType ()
}
org/h2/command/ddl/CreateView$DependentView.classCreateView.java
package org.h2.command.ddl
org.h2.command.ddl.CreateView$DependentView extends java.lang.Object {
String viewName
String createSql
String createForceSql
void (org.h2.table.TableView)
}
org/h2/command/ddl/CreateView.classCreateView.java
package org.h2.command.ddl
public org.h2.command.ddl.CreateView extends org.h2.command.ddl.SchemaCommand {
private org.h2.command.dml.Query select
private String viewName
private boolean ifNotExists
private String selectSQL
private String[] columnNames
private String comment
private boolean recursive
private boolean orReplace
private boolean force
public void (org.h2.engine.Session, org.h2.schema.Schema)
public void setViewName (java.lang.String)
public void setRecursive (boolean)
public void setSelect (org.h2.command.dml.Query)
public void setIfNotExists (boolean)
public void setSelectSQL (java.lang.String)
public void setColumnNames (java.lang.String[])
public void setComment (java.lang.String)
public void setOrReplace (boolean)
public void setForce (boolean)
public int update ()
private void recreateDependentViews (org.h2.engine.Database, org.h2.table.Table, java.util.List, org.h2.table.TableView)
private void loadDependentViewSql (org.h2.engine.DbObject, java.util.List)
private void execute (java.lang.String, boolean)
public int getType ()
}
org/h2/command/ddl/DeallocateProcedure.classDeallocateProcedure.java
package org.h2.command.ddl
public org.h2.command.ddl.DeallocateProcedure extends org.h2.command.ddl.DefineCommand {
private String procedureName
public void (org.h2.engine.Session)
public int update ()
public void setProcedureName (java.lang.String)
public int getType ()
}
org/h2/command/ddl/DefineCommand.classDefineCommand.java
package org.h2.command.ddl
public abstract org.h2.command.ddl.DefineCommand extends org.h2.command.Prepared {
protected boolean transactional
public void (org.h2.engine.Session)
public boolean isReadOnly ()
public org.h2.result.ResultInterface queryMeta ()
public void setTransactional (boolean)
public boolean isTransactional ()
}
org/h2/command/ddl/DropAggregate.classDropAggregate.java
package org.h2.command.ddl
public org.h2.command.ddl.DropAggregate extends org.h2.command.ddl.DefineCommand {
private String name
private boolean ifExists
public void (org.h2.engine.Session)
public int update ()
public void setName (java.lang.String)
public void setIfExists (boolean)
public int getType ()
}
org/h2/command/ddl/DropConstant.classDropConstant.java
package org.h2.command.ddl
public org.h2.command.ddl.DropConstant extends org.h2.command.ddl.SchemaCommand {
private String constantName
private boolean ifExists
public void (org.h2.engine.Session, org.h2.schema.Schema)
public void setIfExists (boolean)
public void setConstantName (java.lang.String)
public int update ()
public int getType ()
}
org/h2/command/ddl/DropDatabase.classDropDatabase.java
package org.h2.command.ddl
public org.h2.command.ddl.DropDatabase extends org.h2.command.ddl.DefineCommand {
private boolean dropAllObjects
private boolean deleteFiles
public void (org.h2.engine.Session)
public int update ()
private void dropAllObjects ()
public void setDropAllObjects (boolean)
public void setDeleteFiles (boolean)
public int getType ()
}
org/h2/command/ddl/DropFunctionAlias.classDropFunctionAlias.java
package org.h2.command.ddl
public org.h2.command.ddl.DropFunctionAlias extends org.h2.command.ddl.SchemaCommand {
private String aliasName
private boolean ifExists
public void (org.h2.engine.Session, org.h2.schema.Schema)
public int update ()
public void setAliasName (java.lang.String)
public void setIfExists (boolean)
public int getType ()
}
org/h2/command/ddl/DropIndex.classDropIndex.java
package org.h2.command.ddl
public org.h2.command.ddl.DropIndex extends org.h2.command.ddl.SchemaCommand {
private String indexName
private boolean ifExists
public void (org.h2.engine.Session, org.h2.schema.Schema)
public void setIfExists (boolean)
public void setIndexName (java.lang.String)
public int update ()
public int getType ()
}
org/h2/command/ddl/DropRole.classDropRole.java
package org.h2.command.ddl
public org.h2.command.ddl.DropRole extends org.h2.command.ddl.DefineCommand {
private String roleName
private boolean ifExists
public void (org.h2.engine.Session)
public void setRoleName (java.lang.String)
public int update ()
public void setIfExists (boolean)
public int getType ()
}
org/h2/command/ddl/DropSchema.classDropSchema.java
package org.h2.command.ddl
public org.h2.command.ddl.DropSchema extends org.h2.command.ddl.DefineCommand {
private String schemaName
private boolean ifExists
public void (org.h2.engine.Session)
public void setSchemaName (java.lang.String)
public int update ()
public void setIfExists (boolean)
public int getType ()
}
org/h2/command/ddl/DropSequence.classDropSequence.java
package org.h2.command.ddl
public org.h2.command.ddl.DropSequence extends org.h2.command.ddl.SchemaCommand {
private String sequenceName
private boolean ifExists
public void (org.h2.engine.Session, org.h2.schema.Schema)
public void setIfExists (boolean)
public void setSequenceName (java.lang.String)
public int update ()
public int getType ()
}
org/h2/command/ddl/DropTable.classDropTable.java
package org.h2.command.ddl
public org.h2.command.ddl.DropTable extends org.h2.command.ddl.SchemaCommand {
private boolean ifExists
private String tableName
private org.h2.table.Table table
private org.h2.command.ddl.DropTable next
private int dropAction
public void (org.h2.engine.Session, org.h2.schema.Schema)
public void addNextDropTable (org.h2.command.ddl.DropTable)
public void setIfExists (boolean)
public void setTableName (java.lang.String)
private void prepareDrop ()
private void executeDrop ()
public int update ()
public void setDropAction (int)
public int getType ()
}
org/h2/command/ddl/DropTrigger.classDropTrigger.java
package org.h2.command.ddl
public org.h2.command.ddl.DropTrigger extends org.h2.command.ddl.SchemaCommand {
private String triggerName
private boolean ifExists
public void (org.h2.engine.Session, org.h2.schema.Schema)
public void setIfExists (boolean)
public void setTriggerName (java.lang.String)
public int update ()
public int getType ()
}
org/h2/command/ddl/DropUser.classDropUser.java
package org.h2.command.ddl
public org.h2.command.ddl.DropUser extends org.h2.command.ddl.DefineCommand {
private boolean ifExists
private String userName
public void (org.h2.engine.Session)
public void setIfExists (boolean)
public void setUserName (java.lang.String)
public int update ()
public boolean isTransactional ()
public int getType ()
}
org/h2/command/ddl/DropUserDataType.classDropUserDataType.java
package org.h2.command.ddl
public org.h2.command.ddl.DropUserDataType extends org.h2.command.ddl.DefineCommand {
private String typeName
private boolean ifExists
public void (org.h2.engine.Session)
public void setIfExists (boolean)
public int update ()
public void setTypeName (java.lang.String)
public int getType ()
}
org/h2/command/ddl/DropView.classDropView.java
package org.h2.command.ddl
public org.h2.command.ddl.DropView extends org.h2.command.ddl.SchemaCommand {
private String viewName
private boolean ifExists
private int dropAction
public void (org.h2.engine.Session, org.h2.schema.Schema)
public void setIfExists (boolean)
public void setDropAction (int)
public void setViewName (java.lang.String)
public int update ()
public int getType ()
}
org/h2/command/ddl/GrantRevoke.classGrantRevoke.java
package org.h2.command.ddl
public org.h2.command.ddl.GrantRevoke extends org.h2.command.ddl.DefineCommand {
private java.util.ArrayList roleNames
private int operationType
private int rightMask
private java.util.ArrayList tables
private org.h2.engine.RightOwner grantee
public void (org.h2.engine.Session)
public void setOperationType (int)
public void addRight (int)
public void addRoleName (java.lang.String)
public void setGranteeName (java.lang.String)
public int update ()
private void grantRight ()
private void grantRole (org.h2.engine.Role)
private void revokeRight ()
private void revokeRole (org.h2.engine.Role)
public boolean isTransactional ()
public void addTable (org.h2.table.Table)
public int getType ()
}
org/h2/command/ddl/PrepareProcedure.classPrepareProcedure.java
package org.h2.command.ddl
public org.h2.command.ddl.PrepareProcedure extends org.h2.command.ddl.DefineCommand {
private String procedureName
private org.h2.command.Prepared prepared
public void (org.h2.engine.Session)
public void checkParameters ()
public int update ()
public void setProcedureName (java.lang.String)
public void setPrepared (org.h2.command.Prepared)
public java.util.ArrayList getParameters ()
public int getType ()
}
org/h2/command/ddl/SchemaCommand.classSchemaCommand.java
package org.h2.command.ddl
public abstract org.h2.command.ddl.SchemaCommand extends org.h2.command.ddl.DefineCommand {
private final org.h2.schema.Schema schema
public void (org.h2.engine.Session, org.h2.schema.Schema)
protected org.h2.schema.Schema getSchema ()
}
org/h2/command/ddl/SetComment.classSetComment.java
package org.h2.command.ddl
public org.h2.command.ddl.SetComment extends org.h2.command.ddl.DefineCommand {
private String schemaName
private String objectName
private boolean column
private String columnName
private int objectType
private org.h2.expression.Expression expr
public void (org.h2.engine.Session)
public int update ()
public void setCommentExpression (org.h2.expression.Expression)
public void setObjectName (java.lang.String)
public void setObjectType (int)
public void setColumnName (java.lang.String)
public void setSchemaName (java.lang.String)
public void setColumn (boolean)
public int getType ()
}
org/h2/command/ddl/TruncateTable.classTruncateTable.java
package org.h2.command.ddl
public org.h2.command.ddl.TruncateTable extends org.h2.command.ddl.DefineCommand {
private org.h2.table.Table table
public void (org.h2.engine.Session)
public void setTable (org.h2.table.Table)
public int update ()
public int getType ()
}
org/h2/command/dml/AlterSequence.classAlterSequence.java
package org.h2.command.dml
public org.h2.command.dml.AlterSequence extends org.h2.command.ddl.SchemaCommand {
private org.h2.table.Table table
private org.h2.schema.Sequence sequence
private org.h2.expression.Expression start
private org.h2.expression.Expression increment
public void (org.h2.engine.Session, org.h2.schema.Schema)
public void setSequence (org.h2.schema.Sequence)
public boolean isTransactional ()
public void setColumn (org.h2.table.Column)
public void setStartWith (org.h2.expression.Expression)
public void setIncrement (org.h2.expression.Expression)
public int update ()
public int getType ()
}
org/h2/command/dml/AlterTableSet.classAlterTableSet.java
package org.h2.command.dml
public org.h2.command.dml.AlterTableSet extends org.h2.command.ddl.SchemaCommand {
private String tableName
private final int type
private boolean value
private boolean checkExisting
public void (org.h2.engine.Session, org.h2.schema.Schema, int, boolean)
public void setCheckExisting (boolean)
public boolean isTransactional ()
public void setTableName (java.lang.String)
public int update ()
public int getType ()
}
org/h2/command/dml/BackupCommand.classBackupCommand.java
package org.h2.command.dml
public org.h2.command.dml.BackupCommand extends org.h2.command.Prepared {
private org.h2.expression.Expression fileNameExpr
public void (org.h2.engine.Session)
public void setFileName (org.h2.expression.Expression)
public int update ()
private void backupTo (java.lang.String)
private void backupPageStore (java.util.zip.ZipOutputStream, java.lang.String, org.h2.store.PageStore) throws java.io.IOException
private void backupFile (java.util.zip.ZipOutputStream, java.lang.String, java.lang.String) throws java.io.IOException
public boolean isTransactional ()
public static java.lang.String correctFileName (java.lang.String)
public boolean needRecompile ()
public org.h2.result.ResultInterface queryMeta ()
public int getType ()
}
org/h2/command/dml/Call.classCall.java
package org.h2.command.dml
public org.h2.command.dml.Call extends org.h2.command.Prepared {
private org.h2.expression.Expression expression
private org.h2.expression.Expression[] expressions
public void (org.h2.engine.Session)
public org.h2.result.ResultInterface queryMeta ()
public int update ()
public org.h2.result.ResultInterface query (int)
public void prepare ()
public void setExpression (org.h2.expression.Expression)
public boolean isQuery ()
public boolean isTransactional ()
public boolean isReadOnly ()
public int getType ()
}
org/h2/command/dml/Delete.classDelete.java
package org.h2.command.dml
public org.h2.command.dml.Delete extends org.h2.command.Prepared {
private org.h2.expression.Expression condition
private org.h2.table.TableFilter tableFilter
public void (org.h2.engine.Session)
public void setTableFilter (org.h2.table.TableFilter)
public void setCondition (org.h2.expression.Expression)
public int update ()
public java.lang.String getPlanSQL ()
public void prepare ()
public boolean isTransactional ()
public org.h2.result.ResultInterface queryMeta ()
public int getType ()
}
org/h2/command/dml/ExecuteProcedure.classExecuteProcedure.java
package org.h2.command.dml
public org.h2.command.dml.ExecuteProcedure extends org.h2.command.Prepared {
private java.util.ArrayList expressions
private org.h2.engine.Procedure procedure
public void (org.h2.engine.Session)
public void setProcedure (org.h2.engine.Procedure)
public void setExpression (int, org.h2.expression.Expression)
private void setParameters ()
public boolean isQuery ()
public int update ()
public org.h2.result.ResultInterface query (int)
public boolean isTransactional ()
public org.h2.result.ResultInterface queryMeta ()
public int getType ()
}
org/h2/command/dml/Explain.classExplain.java
package org.h2.command.dml
public org.h2.command.dml.Explain extends org.h2.command.Prepared {
private org.h2.command.Prepared command
private org.h2.result.LocalResult result
private boolean executeCommand
public void (org.h2.engine.Session)
public void setCommand (org.h2.command.Prepared)
public void prepare ()
public void setExecuteCommand (boolean)
public org.h2.result.ResultInterface queryMeta ()
public org.h2.result.ResultInterface query (int)
private void add (java.lang.String)
public boolean isQuery ()
public boolean isTransactional ()
public boolean isReadOnly ()
public int getType ()
}
org/h2/command/dml/Insert.classInsert.java
package org.h2.command.dml
public org.h2.command.dml.Insert extends org.h2.command.Prepared implements org.h2.result.ResultTarget {
private org.h2.table.Table table
private org.h2.table.Column[] columns
private java.util.ArrayList list
private org.h2.command.dml.Query query
private boolean sortedInsertMode
private int rowNumber
private boolean insertFromSelect
public void (org.h2.engine.Session)
public void setCommand (org.h2.command.Command)
public void setTable (org.h2.table.Table)
public void setColumns (org.h2.table.Column[])
public void setQuery (org.h2.command.dml.Query)
public void addRow (org.h2.expression.Expression[])
public int update ()
private int insertRows ()
public void addRow (org.h2.value.Value[])
public int getRowCount ()
public java.lang.String getPlanSQL ()
public void prepare ()
public boolean isTransactional ()
public org.h2.result.ResultInterface queryMeta ()
public void setSortedInsertMode (boolean)
public int getType ()
public void setInsertFromSelect (boolean)
}
org/h2/command/dml/Merge.classMerge.java
package org.h2.command.dml
public org.h2.command.dml.Merge extends org.h2.command.Prepared {
private org.h2.table.Table table
private org.h2.table.Column[] columns
private org.h2.table.Column[] keys
private java.util.ArrayList list
private org.h2.command.dml.Query query
private org.h2.command.Prepared update
public void (org.h2.engine.Session)
public void setCommand (org.h2.command.Command)
public void setTable (org.h2.table.Table)
public void setColumns (org.h2.table.Column[])
public void setKeys (org.h2.table.Column[])
public void setQuery (org.h2.command.dml.Query)
public void addRow (org.h2.expression.Expression[])
public int update ()
private void merge (org.h2.result.Row)
public java.lang.String getPlanSQL ()
public void prepare ()
public boolean isTransactional ()
public org.h2.result.ResultInterface queryMeta ()
public int getType ()
}
org/h2/command/dml/NoOperation.classNoOperation.java
package org.h2.command.dml
public org.h2.command.dml.NoOperation extends org.h2.command.Prepared {
public void (org.h2.engine.Session)
public int update ()
public boolean isQuery ()
public boolean isTransactional ()
public boolean needRecompile ()
public boolean isReadOnly ()
public org.h2.result.ResultInterface queryMeta ()
public int getType ()
}
org/h2/command/dml/Optimizer.classOptimizer.java
package org.h2.command.dml
public org.h2.command.dml.Optimizer extends java.lang.Object {
private static final int MAX_BRUTE_FORCE_FILTERS
private static final int MAX_BRUTE_FORCE
private static final int MAX_GENETIC
private long start
private org.h2.util.BitField switched
private org.h2.table.TableFilter[] filters
private org.h2.expression.Expression condition
private org.h2.engine.Session session
private org.h2.table.Plan bestPlan
private org.h2.table.TableFilter topFilter
private double cost
private java.util.Random random
void (org.h2.table.TableFilter[], org.h2.expression.Expression, org.h2.engine.Session)
private static int getMaxBruteForceFilters (int)
private void calculateBestPlan ()
private boolean canStop (int)
private void calculateBruteForceAll ()
private void calculateBruteForceSome ()
private void calculateGenetic ()
private boolean testPlan (org.h2.table.TableFilter[])
private void shuffleAll (org.h2.table.TableFilter[])
private boolean shuffleTwo (org.h2.table.TableFilter[])
void optimize ()
public org.h2.table.TableFilter getTopFilter ()
double getCost ()
}
org/h2/command/dml/Query.classQuery.java
package org.h2.command.dml
public abstract org.h2.command.dml.Query extends org.h2.command.Prepared {
protected org.h2.expression.Expression limitExpr
protected org.h2.expression.Expression offsetExpr
protected int sampleSize
private int lastLimit
private long lastEvaluated
private org.h2.result.LocalResult lastResult
private org.h2.value.Value[] lastParameters
private boolean cacheableChecked
private boolean cacheable
public void (org.h2.engine.Session)
protected abstract org.h2.result.LocalResult queryWithoutCache (int, org.h2.result.ResultTarget)
public abstract void init ()
public abstract java.util.ArrayList getExpressions ()
public abstract double getCost ()
public abstract java.util.HashSet getTables ()
public abstract void setOrder (java.util.ArrayList)
public abstract void setForUpdate (boolean)
public abstract int getColumnCount ()
public abstract void mapColumns (org.h2.table.ColumnResolver, int)
public abstract void setEvaluatable (org.h2.table.TableFilter, boolean)
public abstract void addGlobalCondition (org.h2.expression.Parameter, int, int)
public abstract void setDistinct (boolean)
public abstract boolean isEverything (org.h2.expression.ExpressionVisitor)
public abstract void updateAggregate (org.h2.engine.Session)
public abstract void fireBeforeSelectTriggers ()
public boolean isQuery ()
public boolean isTransactional ()
private boolean sameResultAsLast (org.h2.engine.Session, org.h2.value.Value[], org.h2.value.Value[], long)
public final org.h2.value.Value[] getParameterValues ()
public org.h2.result.ResultInterface query (int)
org.h2.result.ResultInterface query (int, org.h2.result.ResultTarget)
private void closeLastResult ()
void initOrder (java.util.ArrayList, java.util.ArrayList, java.util.ArrayList, int, boolean)
public org.h2.result.SortOrder prepareOrder (java.util.ArrayList, int)
public void setOffset (org.h2.expression.Expression)
public void setLimit (org.h2.expression.Expression)
void addParameter (org.h2.expression.Parameter)
public void setSampleSize (int)
public final long getMaxDataModificationId ()
}
org/h2/command/dml/RunScriptCommand.classRunScriptCommand.java
package org.h2.command.dml
public org.h2.command.dml.RunScriptCommand extends org.h2.command.dml.ScriptBase {
private String charset
public void (org.h2.engine.Session)
public int update ()
private void execute (java.lang.String)
public void setCharset (java.lang.String)
public org.h2.result.ResultInterface queryMeta ()
public int getType ()
}
org/h2/command/dml/ScriptBase.classScriptBase.java
package org.h2.command.dml
public abstract org.h2.command.dml.ScriptBase extends org.h2.command.Prepared implements org.h2.store.DataHandler {
private static final String SCRIPT_SQL
protected java.io.OutputStream out
protected java.io.InputStream in
private org.h2.expression.Expression fileNameExpr
private String fileName
private String cipher
private byte[] key
private org.h2.store.FileStore store
private String compressionAlgorithm
public void (org.h2.engine.Session)
public void setCipher (java.lang.String)
private boolean isEncrypted ()
public void setPassword (char[])
public void setFileNameExpr (org.h2.expression.Expression)
protected java.lang.String getFileName ()
public boolean isTransactional ()
void deleteStore ()
private void initStore ()
void openOutput ()
void openInput ()
void closeIO ()
public boolean needRecompile ()
public java.lang.String getDatabasePath ()
public org.h2.store.FileStore openFile (java.lang.String, java.lang.String, boolean)
public void checkPowerOff ()
public void checkWritingAllowed ()
public void freeUpDiskSpace ()
public int getMaxLengthInplaceLob ()
public org.h2.util.TempFileDeleter getTempFileDeleter ()
public java.lang.String getLobCompressionAlgorithm (int)
public void setCompressionAlgorithm (java.lang.String)
public java.lang.Object getLobSyncObject ()
public org.h2.util.SmallLRUCache getLobFileListCache ()
public org.h2.store.LobStorage getLobStorage ()
public java.sql.Connection getLobConnection ()
}
org/h2/command/dml/ScriptCommand$1.classScriptCommand.java
package org.h2.command.dml
org.h2.command.dml.ScriptCommand$1 extends java.lang.Object implements java.util.Comparator {
final synthetic org.h2.command.dml.ScriptCommand this$0
void (org.h2.command.dml.ScriptCommand)
public int compare (org.h2.table.Table, org.h2.table.Table)
public volatile synthetic int compare (java.lang.Object, java.lang.Object)
}
org/h2/command/dml/ScriptCommand$2.classScriptCommand.java
package org.h2.command.dml
org.h2.command.dml.ScriptCommand$2 extends java.lang.Object implements java.util.Comparator {
final synthetic org.h2.command.dml.ScriptCommand this$0
void (org.h2.command.dml.ScriptCommand)
public int compare (org.h2.schema.SchemaObject, org.h2.schema.SchemaObject)
public volatile synthetic int compare (java.lang.Object, java.lang.Object)
}
org/h2/command/dml/ScriptCommand$3.classScriptCommand.java
package org.h2.command.dml
org.h2.command.dml.ScriptCommand$3 extends java.io.InputStream {
private java.io.InputStream current
private boolean closed
final synthetic java.sql.ResultSet val$rs
void (java.sql.ResultSet) throws java.io.IOException
public int read () throws java.io.IOException
public void close () throws java.io.IOException
}
org/h2/command/dml/ScriptCommand$4.classScriptCommand.java
package org.h2.command.dml
org.h2.command.dml.ScriptCommand$4 extends java.io.Reader {
private java.io.Reader current
private boolean closed
final synthetic java.sql.ResultSet val$rs
void (java.sql.ResultSet) throws java.io.IOException
public int read () throws java.io.IOException
public void close () throws java.io.IOException
public int read (char[], int, int) throws java.io.IOException
}
org/h2/command/dml/ScriptCommand.classScriptCommand.java
package org.h2.command.dml
public org.h2.command.dml.ScriptCommand extends org.h2.command.dml.ScriptBase {
private String charset
private boolean passwords
private boolean data
private boolean settings
private boolean drop
private boolean simple
private org.h2.result.LocalResult result
private byte[] lineSeparator
private byte[] buffer
private boolean tempLobTableCreated
private int nextLobId
private int lobBlockSize
public void (org.h2.engine.Session)
public boolean isQuery ()
public void setData (boolean)
public void setPasswords (boolean)
public void setSettings (boolean)
public void setLobBlockSize (long)
public void setDrop (boolean)
public org.h2.result.ResultInterface queryMeta ()
private org.h2.result.LocalResult createResult ()
public org.h2.result.ResultInterface query (int)
private int writeLobStream (org.h2.value.Value) throws java.io.IOException
public static java.io.InputStream combineBlob (java.sql.Connection, int) throws java.sql.SQLException
public static java.io.Reader combineClob (java.sql.Connection, int) throws java.sql.SQLException
private static java.sql.ResultSet getLobStream (java.sql.Connection, java.lang.String, int) throws java.sql.SQLException
private void reset ()
private void add (java.lang.String, boolean) throws java.io.IOException
public void setSimple (boolean)
public void setCharset (java.lang.String)
public int getType ()
}
org/h2/command/dml/Select.classSelect.java
package org.h2.command.dml
public org.h2.command.dml.Select extends org.h2.command.dml.Query {
private org.h2.table.TableFilter topTableFilter
private java.util.ArrayList filters
private java.util.ArrayList topFilters
private java.util.ArrayList expressions
private org.h2.expression.Expression[] expressionArray
private org.h2.expression.Expression having
private org.h2.expression.Expression condition
private int visibleColumnCount
private int distinctColumnCount
private java.util.ArrayList orderList
private java.util.ArrayList group
private int[] groupIndex
private boolean[] groupByExpression
private boolean distinct
private java.util.HashMap currentGroup
private int havingIndex
private boolean isGroupQuery
private boolean isGroupSortedQuery
private boolean isForUpdate
private boolean isForUpdateMvcc
private double cost
private boolean isQuickAggregateQuery
private boolean isDistinctQuery
private boolean isPrepared
private boolean checkInit
private boolean sortUsingIndex
private org.h2.result.SortOrder sort
private int currentGroupRowId
public void (org.h2.engine.Session)
public void addTableFilter (org.h2.table.TableFilter, boolean)
public java.util.ArrayList getTopFilters ()
public void setExpressions (java.util.ArrayList)
public void setGroupQuery ()
public void setGroupBy (java.util.ArrayList)
public java.util.HashMap getCurrentGroup ()
public int getCurrentGroupRowId ()
public void setOrder (java.util.ArrayList)
public void addCondition (org.h2.expression.Expression)
private void queryGroupSorted (int, org.h2.result.ResultTarget)
private void addGroupSortedRow (org.h2.value.Value[], int, org.h2.result.ResultTarget)
private org.h2.value.Value[] keepOnlyDistinct (org.h2.value.Value[], int)
private boolean isHavingNullOrFalse (org.h2.value.Value[])
private org.h2.index.Index getGroupSortedIndex ()
private boolean isGroupSortedIndex (org.h2.table.TableFilter, org.h2.index.Index)
private int getGroupByExpressionCount ()
private void queryGroup (int, org.h2.result.LocalResult)
private org.h2.index.Index getSortIndex ()
private void queryDistinct (org.h2.result.ResultTarget, long)
private void queryFlat (int, org.h2.result.ResultTarget, long)
private void queryQuick (int, org.h2.result.ResultTarget)
public org.h2.result.ResultInterface queryMeta ()
protected org.h2.result.LocalResult queryWithoutCache (int, org.h2.result.ResultTarget)
private org.h2.result.LocalResult createLocalResult (org.h2.result.LocalResult)
private void expandColumnList ()
public void init ()
public void prepare ()
public double getCost ()
public java.util.HashSet getTables ()
public void fireBeforeSelectTriggers ()
private double preparePlan ()
private void setEvaluatableRecursive (org.h2.table.TableFilter)
public java.lang.String getPlanSQL ()
public void setDistinct (boolean)
public void setHaving (org.h2.expression.Expression)
public int getColumnCount ()
public org.h2.table.TableFilter getTopTableFilter ()
public java.util.ArrayList getExpressions ()
public void setForUpdate (boolean)
public void mapColumns (org.h2.table.ColumnResolver, int)
public void setEvaluatable (org.h2.table.TableFilter, boolean)
public boolean isQuickAggregateQuery ()
public void addGlobalCondition (org.h2.expression.Parameter, int, int)
public void updateAggregate (org.h2.engine.Session)
public boolean isEverything (org.h2.expression.ExpressionVisitor)
public boolean isReadOnly ()
public boolean isCacheable ()
public int getType ()
}
org/h2/command/dml/SelectListColumnResolver.classSelectListColumnResolver.java
package org.h2.command.dml
public org.h2.command.dml.SelectListColumnResolver extends java.lang.Object implements org.h2.table.ColumnResolver {
private org.h2.command.dml.Select select
private org.h2.expression.Expression[] expressions
private org.h2.table.Column[] columns
void (org.h2.command.dml.Select)
public org.h2.table.Column[] getColumns ()
public java.lang.String getSchemaName ()
public org.h2.command.dml.Select getSelect ()
public org.h2.table.Column[] getSystemColumns ()
public java.lang.String getTableAlias ()
public org.h2.table.TableFilter getTableFilter ()
public org.h2.value.Value getValue (org.h2.table.Column)
public org.h2.expression.Expression optimize (org.h2.expression.ExpressionColumn, org.h2.table.Column)
}
org/h2/command/dml/SelectOrderBy.classSelectOrderBy.java
package org.h2.command.dml
public org.h2.command.dml.SelectOrderBy extends java.lang.Object {
public org.h2.expression.Expression expression
public org.h2.expression.Expression columnIndexExpr
public boolean descending
public boolean nullsFirst
public boolean nullsLast
public void ()
public java.lang.String getSQL ()
}
org/h2/command/dml/SelectUnion.classSelectUnion.java
package org.h2.command.dml
public org.h2.command.dml.SelectUnion extends org.h2.command.dml.Query {
public static final int UNION
public static final int UNION_ALL
public static final int EXCEPT
public static final int INTERSECT
private int unionType
private org.h2.command.dml.Query left
private org.h2.command.dml.Query right
private java.util.ArrayList expressions
private org.h2.expression.Expression[] expressionArray
private java.util.ArrayList orderList
private org.h2.result.SortOrder sort
private boolean distinct
private boolean isPrepared
private boolean checkInit
private boolean isForUpdate
public void (org.h2.engine.Session, org.h2.command.dml.Query)
public void setUnionType (int)
public int getUnionType ()
public void setRight (org.h2.command.dml.Query)
public org.h2.command.dml.Query getLeft ()
public org.h2.command.dml.Query getRight ()
public void setSQL (java.lang.String)
public void setOrder (java.util.ArrayList)
private org.h2.value.Value[] convert (org.h2.value.Value[], int)
public org.h2.result.ResultInterface queryMeta ()
public org.h2.result.LocalResult getEmptyResult ()
protected org.h2.result.LocalResult queryWithoutCache (int, org.h2.result.ResultTarget)
public void init ()
public void prepare ()
public double getCost ()
public java.util.HashSet getTables ()
public void setDistinct (boolean)
public java.util.ArrayList getExpressions ()
public void setForUpdate (boolean)
public int getColumnCount ()
public void mapColumns (org.h2.table.ColumnResolver, int)
public void setEvaluatable (org.h2.table.TableFilter, boolean)
public void addGlobalCondition (org.h2.expression.Parameter, int, int)
public java.lang.String getPlanSQL ()
public org.h2.result.ResultInterface query (int, org.h2.result.ResultTarget)
public boolean isEverything (org.h2.expression.ExpressionVisitor)
public boolean isReadOnly ()
public void updateAggregate (org.h2.engine.Session)
public void fireBeforeSelectTriggers ()
public int getType ()
}
org/h2/command/dml/Set.classSet.java
package org.h2.command.dml
public org.h2.command.dml.Set extends org.h2.command.Prepared {
private int type
private org.h2.expression.Expression expression
private String stringValue
private String[] stringValueList
public void (org.h2.engine.Session, int)
public void setString (java.lang.String)
public boolean isTransactional ()
public int update ()
private int getIntValue ()
public void setInt (int)
public void setExpression (org.h2.expression.Expression)
private void addOrUpdateSetting (java.lang.String, java.lang.String, int)
private void addOrUpdateSetting (org.h2.engine.Session, java.lang.String, java.lang.String, int)
public boolean needRecompile ()
public org.h2.result.ResultInterface queryMeta ()
public void setStringArray (java.lang.String[])
public int getType ()
}
org/h2/command/dml/SetTypes.classSetTypes.java
package org.h2.command.dml
public org.h2.command.dml.SetTypes extends java.lang.Object {
public static final int IGNORECASE
public static final int MAX_LOG_SIZE
public static final int MODE
public static final int READONLY
public static final int LOCK_TIMEOUT
public static final int DEFAULT_LOCK_TIMEOUT
public static final int DEFAULT_TABLE_TYPE
public static final int CACHE_SIZE
public static final int TRACE_LEVEL_SYSTEM_OUT
public static final int TRACE_LEVEL_FILE
public static final int TRACE_MAX_FILE_SIZE
public static final int COLLATION
public static final int CLUSTER
public static final int WRITE_DELAY
public static final int DATABASE_EVENT_LISTENER
public static final int MAX_MEMORY_ROWS
public static final int LOCK_MODE
public static final int DB_CLOSE_DELAY
public static final int LOG
public static final int THROTTLE
public static final int MAX_MEMORY_UNDO
public static final int MAX_LENGTH_INPLACE_LOB
public static final int COMPRESS_LOB
public static final int ALLOW_LITERALS
public static final int MULTI_THREADED
public static final int SCHEMA
public static final int OPTIMIZE_REUSE_RESULTS
public static final int SCHEMA_SEARCH_PATH
public static final int UNDO_LOG
public static final int REFERENTIAL_INTEGRITY
public static final int MVCC
public static final int MAX_OPERATION_MEMORY
public static final int EXCLUSIVE
public static final int CREATE_BUILD
public static final int VARIABLE
public static final int QUERY_TIMEOUT
public static final int REDO_LOG_BINARY
private static final java.util.ArrayList TYPES
private void ()
public static int getType (java.lang.String)
public static java.util.ArrayList getTypes ()
public static java.lang.String getTypeName (int)
static void ()
}
org/h2/command/dml/TransactionCommand.classTransactionCommand.java
package org.h2.command.dml
public org.h2.command.dml.TransactionCommand extends org.h2.command.Prepared {
private int type
private String savepointName
private String transactionName
public void (org.h2.engine.Session, int)
public void setSavepointName (java.lang.String)
public int update ()
public boolean isTransactional ()
public boolean needRecompile ()
public void setTransactionName (java.lang.String)
public org.h2.result.ResultInterface queryMeta ()
public int getType ()
}
org/h2/command/dml/Update.classUpdate.java
package org.h2.command.dml
public org.h2.command.dml.Update extends org.h2.command.Prepared {
private org.h2.expression.Expression condition
private org.h2.table.TableFilter tableFilter
private org.h2.expression.Expression[] expressions
public void (org.h2.engine.Session)
public void setTableFilter (org.h2.table.TableFilter)
public void setCondition (org.h2.expression.Expression)
public void setAssignment (org.h2.table.Column, org.h2.expression.Expression)
public int update ()
public java.lang.String getPlanSQL ()
public void prepare ()
public boolean isTransactional ()
public org.h2.result.ResultInterface queryMeta ()
public int getType ()
}
org/h2/command/Parser$1.classParser.java
package org.h2.command
org.h2.command.Parser$1 extends java.lang.Object implements org.h2.table.TableFilter$TableFilterVisitor {
final synthetic org.h2.command.dml.Select val$command
final synthetic org.h2.command.Parser this$0
void (org.h2.command.Parser, org.h2.command.dml.Select)
public void accept (org.h2.table.TableFilter)
}
org/h2/command/Parser.classParser.java
package org.h2.command
public org.h2.command.Parser extends java.lang.Object {
private static final int CHAR_END
private static final int CHAR_VALUE
private static final int CHAR_QUOTED
private static final int CHAR_NAME
private static final int CHAR_SPECIAL_1
private static final int CHAR_SPECIAL_2
private static final int CHAR_STRING
private static final int CHAR_DOT
private static final int CHAR_DOLLAR_QUOTED_STRING
private static final int KEYWORD
private static final int IDENTIFIER
private static final int PARAMETER
private static final int END
private static final int VALUE
private static final int EQUAL
private static final int BIGGER_EQUAL
private static final int BIGGER
private static final int SMALLER
private static final int SMALLER_EQUAL
private static final int NOT_EQUAL
private static final int AT
private static final int MINUS
private static final int PLUS
private static final int STRING_CONCAT
private static final int OPEN
private static final int CLOSE
private static final int NULL
private static final int TRUE
private static final int FALSE
private static final int CURRENT_TIMESTAMP
private static final int CURRENT_DATE
private static final int CURRENT_TIME
private static final int ROWNUM
private final org.h2.engine.Database database
private final org.h2.engine.Session session
private int[] characterTypes
private int currentTokenType
private String currentToken
private boolean currentTokenQuoted
private org.h2.value.Value currentValue
private String sqlCommand
private String originalSQL
private char[] sqlCommandChars
private int lastParseIndex
private int parseIndex
private org.h2.command.ddl.CreateView createView
private org.h2.command.Prepared currentPrepared
private org.h2.command.dml.Select currentSelect
private java.util.ArrayList parameters
private String schemaName
private java.util.ArrayList expectedList
private boolean rightsChecked
private boolean recompileAlways
private java.util.ArrayList indexedParameterList
private final boolean identifiersToUpper
public void (org.h2.engine.Session)
public org.h2.command.Prepared prepare (java.lang.String)
public org.h2.command.Command prepareCommand (java.lang.String)
org.h2.command.Prepared parse (java.lang.String)
private org.h2.command.Prepared parse (java.lang.String, boolean)
private org.h2.command.Prepared parsePrepared ()
private org.h2.message.DbException getSyntaxError ()
private org.h2.command.Prepared parseBackup ()
private org.h2.command.Prepared parseAnalyze ()
private org.h2.command.dml.TransactionCommand parseBegin ()
private org.h2.command.dml.TransactionCommand parseCommit ()
private org.h2.command.dml.TransactionCommand parseShutdown ()
private org.h2.command.dml.TransactionCommand parseRollback ()
private org.h2.command.Prepared parsePrepare ()
private org.h2.command.dml.TransactionCommand parseSavepoint ()
private org.h2.command.Prepared parseReleaseSavepoint ()
private org.h2.schema.Schema getSchema (java.lang.String)
private org.h2.schema.Schema getSchema ()
private org.h2.table.Column readTableColumn (org.h2.table.TableFilter)
private org.h2.command.dml.Update parseUpdate ()
private org.h2.table.TableFilter readSimpleTableFilter ()
private org.h2.command.dml.Delete parseDelete ()
private org.h2.table.IndexColumn[] parseIndexColumnList ()
private java.lang.String[] parseColumnList ()
private org.h2.table.Column[] parseColumnList (org.h2.table.Table)
private boolean readIfMore ()
private org.h2.command.Prepared parseHelp ()
private org.h2.command.Prepared parseShow ()
private org.h2.command.Prepared prepare (org.h2.engine.Session, java.lang.String, java.util.ArrayList)
private boolean isSelect ()
private org.h2.command.dml.Merge parseMerge ()
private org.h2.command.dml.Insert parseInsert ()
private org.h2.table.TableFilter readTableFilter (boolean)
private java.lang.String readFromAlias (java.lang.String)
private org.h2.command.Prepared parseTruncate ()
private boolean readIfExists (boolean)
private org.h2.command.Prepared parseComment ()
private org.h2.command.Prepared parseDrop ()
private org.h2.command.ddl.DropUserDataType parseDropUserDataType ()
private org.h2.command.ddl.DropAggregate parseDropAggregate ()
private org.h2.table.TableFilter readJoin (org.h2.table.TableFilter, org.h2.command.dml.Select, boolean, boolean)
private org.h2.table.TableFilter getNested (org.h2.table.TableFilter)
private org.h2.command.Prepared parseExecute ()
private org.h2.command.ddl.DeallocateProcedure parseDeallocate ()
private org.h2.command.dml.Explain parseExplain ()
private org.h2.command.dml.Query parseSelect ()
private org.h2.command.dml.Query parseSelectUnion ()
private org.h2.command.dml.Query parseSelectUnionExtension (org.h2.command.dml.Query, int, boolean)
private void parseEndOfQuery (org.h2.command.dml.Query)
private org.h2.command.dml.Query parseSelectSub ()
private void parseSelectSimpleFromPart (org.h2.command.dml.Select)
private void parseJoinTableFilter (org.h2.table.TableFilter, org.h2.command.dml.Select)
private void parseSelectSimpleSelectPart (org.h2.command.dml.Select)
private org.h2.command.dml.Select parseSelectSimple ()
private org.h2.table.Table getDualTable (boolean)
private void setSQL (org.h2.command.Prepared, java.lang.String, int)
private org.h2.expression.Expression readExpression ()
private org.h2.expression.Expression readAnd ()
private org.h2.expression.Expression readCondition ()
private org.h2.expression.Expression readConcat ()
private org.h2.expression.Expression readSum ()
private org.h2.expression.Expression readFactor ()
private org.h2.expression.Expression readAggregate (int)
private java.util.ArrayList parseSimpleOrderList ()
private org.h2.expression.JavaFunction readJavaFunction (org.h2.schema.Schema, java.lang.String)
private org.h2.expression.JavaAggregate readJavaAggregate (org.h2.engine.UserAggregate)
private org.h2.expression.Expression readFunction (org.h2.schema.Schema, java.lang.String)
private org.h2.expression.Function readFunctionWithoutParameters (java.lang.String)
private org.h2.expression.Expression readWildcardOrSequenceValue (java.lang.String, java.lang.String)
private org.h2.expression.Expression readTermObjectDot (java.lang.String)
private org.h2.expression.Expression readTerm ()
private org.h2.expression.Expression readWhen (org.h2.expression.Expression)
private int getPositiveInt ()
private int getInt ()
private long readLong ()
private boolean readBooleanSetting ()
private java.lang.String readString ()
private java.lang.String readIdentifierWithSchema (java.lang.String)
private java.lang.String readIdentifierWithSchema ()
private java.lang.String readAliasIdentifier ()
private java.lang.String readUniqueIdentifier ()
private java.lang.String readColumnIdentifier ()
private void read (java.lang.String)
private boolean readIf (java.lang.String)
private boolean isToken (java.lang.String)
private boolean equalsToken (java.lang.String, java.lang.String)
private void addExpected (java.lang.String)
private void read ()
private void checkLiterals (boolean)
private void readHexDecimal (int, int)
private void readDecimal (int, int)
public org.h2.engine.Session getSession ()
private void initialize (java.lang.String)
private void checkRunOver (int, int, int)
private int getSpecialType (java.lang.String)
private int getTokenType (java.lang.String)
private boolean isKeyword (java.lang.String)
public static boolean isKeyword (java.lang.String, boolean)
private static int getSaveTokenType (java.lang.String, boolean)
private static int getKeywordOrIdentifier (java.lang.String, java.lang.String, int)
private org.h2.table.Column parseColumnForTable (java.lang.String, boolean)
private void parseAutoIncrement (org.h2.table.Column)
private java.lang.String readCommentIf ()
private org.h2.table.Column parseColumn (java.lang.String)
private org.h2.command.Prepared parseCreate ()
private boolean addRoleOrRight (org.h2.command.ddl.GrantRevoke)
private org.h2.command.ddl.GrantRevoke parseGrantRevoke (int)
private org.h2.command.dml.Call parseCall ()
private org.h2.command.ddl.CreateRole parseCreateRole ()
private org.h2.command.ddl.CreateSchema parseCreateSchema ()
private org.h2.command.ddl.CreateSequence parseCreateSequence ()
private boolean readIfNoExists ()
private org.h2.command.ddl.CreateConstant parseCreateConstant ()
private org.h2.command.ddl.CreateAggregate parseCreateAggregate (boolean)
private org.h2.command.ddl.CreateUserDataType parseCreateUserDataType ()
private org.h2.command.ddl.CreateTrigger parseCreateTrigger (boolean)
private org.h2.command.ddl.CreateUser parseCreateUser ()
private org.h2.command.ddl.CreateFunctionAlias parseCreateFunctionAlias (boolean)
private org.h2.command.dml.Query parserWith ()
private org.h2.command.ddl.CreateView parseCreateView (boolean, boolean)
private org.h2.command.dml.TransactionCommand parseCheckpoint ()
private org.h2.command.Prepared parseAlter ()
private void checkSchema (org.h2.schema.Schema)
private org.h2.command.ddl.AlterIndexRename parseAlterIndex ()
private org.h2.command.ddl.AlterView parseAlterView ()
private org.h2.command.ddl.AlterSchemaRename parseAlterSchema ()
private org.h2.command.dml.AlterSequence parseAlterSequence ()
private org.h2.command.ddl.AlterUser parseAlterUser ()
private void readIfEqualOrTo ()
private org.h2.command.Prepared parseSet ()
private org.h2.command.dml.Set parseSetCollation ()
private org.h2.command.dml.RunScriptCommand parseRunScript ()
private org.h2.command.dml.ScriptCommand parseScript ()
private org.h2.table.Table readTableOrView ()
private org.h2.table.Table readTableOrView (java.lang.String)
private org.h2.engine.FunctionAlias findFunctionAlias (java.lang.String, java.lang.String)
private org.h2.schema.Sequence findSequence (java.lang.String, java.lang.String)
private org.h2.schema.Sequence readSequence ()
private org.h2.command.Prepared parseAlterTable ()
private org.h2.command.ddl.AlterTableAlterColumn parseAlterTableAlterColumnType (org.h2.table.Table, java.lang.String, org.h2.table.Column)
private org.h2.command.ddl.AlterTableAlterColumn parseAlterTableAddColumn (org.h2.table.Table)
private int parseAction ()
private java.lang.Integer parseCascadeOrRestrict ()
private org.h2.command.ddl.DefineCommand parseAlterTableAddConstraintIf (java.lang.String, org.h2.schema.Schema)
private void parseReferences (org.h2.command.ddl.AlterTableAddConstraint, org.h2.schema.Schema, java.lang.String)
private org.h2.command.ddl.CreateLinkedTable parseCreateLinkedTable (boolean, boolean, boolean)
private org.h2.command.ddl.CreateTable parseCreateTable (boolean, boolean, boolean)
private int getCompareType (int)
public static java.lang.String quoteIdentifier (java.lang.String)
public void setRightsChecked (boolean)
public org.h2.expression.Expression parseExpression (java.lang.String)
}
org/h2/command/Prepared.classPrepared.java
package org.h2.command
public abstract org.h2.command.Prepared extends java.lang.Object {
protected org.h2.engine.Session session
protected String sqlStatement
protected boolean create
protected java.util.ArrayList parameters
protected boolean prepareAlways
private long modificationMetaId
private org.h2.command.Command command
private int objectId
private int currentRowNumber
private int rowScanCount
public void (org.h2.engine.Session)
public abstract boolean isTransactional ()
public abstract org.h2.result.ResultInterface queryMeta ()
public abstract int getType ()
public boolean isReadOnly ()
public boolean needRecompile ()
long getModificationMetaId ()
void setModificationMetaId (long)
public void setParameterList (java.util.ArrayList)
public java.util.ArrayList getParameters ()
protected void checkParameters ()
public void setCommand (org.h2.command.Command)
public boolean isQuery ()
public void prepare ()
public int update ()
public org.h2.result.ResultInterface query (int)
public void setSQL (java.lang.String)
public java.lang.String getSQL ()
protected int getCurrentObjectId ()
protected int getObjectId ()
public java.lang.String getPlanSQL ()
public void checkCanceled ()
public void setObjectId (int)
public void setSession (org.h2.engine.Session)
void trace (long, int)
public void setPrepareAlways (boolean)
protected void setCurrentRowNumber (int)
public int getCurrentRowNumber ()
public java.lang.String toString ()
protected java.lang.String getSQL (org.h2.value.Value[])
protected java.lang.String getSQL (org.h2.expression.Expression[])
protected org.h2.message.DbException setRow (org.h2.message.DbException, int, java.lang.String)
public boolean isCacheable ()
}
org/h2/compress/CompressDeflate.classCompressDeflate.java
package org.h2.compress
public org.h2.compress.CompressDeflate extends java.lang.Object implements org.h2.compress.Compressor {
private int level
private int strategy
public void ()
public void setOptions (java.lang.String)
public int compress (byte[], int, byte[], int)
public int getAlgorithm ()
public void expand (byte[], int, int, byte[], int, int)
}
org/h2/compress/CompressLZF.classCompressLZF.java
package org.h2.compress
public final org.h2.compress.CompressLZF extends java.lang.Object implements org.h2.compress.Compressor {
private static final int HASH_SIZE
private static final int MAX_LITERAL
private static final int MAX_OFF
private static final int MAX_REF
private int[] cachedHashTable
public void ()
public void setOptions (java.lang.String)
private static int first (byte[], int)
private static int next (int, byte[], int)
private static int hash (int)
public int compress (byte[], int, byte[], int)
public void expand (byte[], int, int, byte[], int, int)
public int getAlgorithm ()
}
org/h2/compress/CompressNo.classCompressNo.java
package org.h2.compress
public org.h2.compress.CompressNo extends java.lang.Object implements org.h2.compress.Compressor {
public void ()
public int getAlgorithm ()
public void setOptions (java.lang.String)
public int compress (byte[], int, byte[], int)
public void expand (byte[], int, int, byte[], int, int)
}
org/h2/compress/Compressor.classCompressor.java
package org.h2.compress
public abstract org.h2.compress.Compressor extends java.lang.Object {
public static final int NO
public static final int LZF
public static final int DEFLATE
public abstract int getAlgorithm ()
public abstract int compress (byte[], int, byte[], int)
public abstract void expand (byte[], int, int, byte[], int, int)
public abstract void setOptions (java.lang.String)
}
org/h2/compress/LZFInputStream.classLZFInputStream.java
package org.h2.compress
public org.h2.compress.LZFInputStream extends java.io.InputStream {
private final java.io.InputStream in
private org.h2.compress.CompressLZF decompress
private int pos
private int bufferLength
private byte[] inBuffer
private byte[] buffer
public void (java.io.InputStream) throws java.io.IOException
private byte[] ensureSize (byte[], int)
private void fillBuffer () throws java.io.IOException
private void readFully (byte[], int) throws java.io.IOException
private int readInt () throws java.io.IOException
public int read () throws java.io.IOException
public int read (byte[]) throws java.io.IOException
public int read (byte[], int, int) throws java.io.IOException
private int readBlock (byte[], int, int) throws java.io.IOException
public void close () throws java.io.IOException
}
org/h2/compress/LZFOutputStream.classLZFOutputStream.java
package org.h2.compress
public org.h2.compress.LZFOutputStream extends java.io.OutputStream {
static final int MAGIC
private final java.io.OutputStream out
private final org.h2.compress.CompressLZF compress
private final byte[] buffer
private int pos
private byte[] outBuffer
public void (java.io.OutputStream) throws java.io.IOException
private void ensureOutput (int)
public void write (int) throws java.io.IOException
private void compressAndWrite (byte[], int) throws java.io.IOException
private void writeInt (int) throws java.io.IOException
public void write (byte[], int, int) throws java.io.IOException
public void flush () throws java.io.IOException
public void close () throws java.io.IOException
}
org/h2/constant/DbSettings.classDbSettings.java
package org.h2.constant
public org.h2.constant.DbSettings extends org.h2.engine.SettingsBase {
private static org.h2.constant.DbSettings defaultSettings
public final boolean aliasColumnName
public final int analyzeAuto
public final int analyzeSample
public final boolean databaseToUpper
public final boolean dbCloseOnExit
public final String defaultEscape
public final boolean defragAlways
public final boolean dropRestrict
public final int estimatedFunctionTableRows
public final boolean functionsInSchema
public final int largeResultBufferSize
public final boolean largeTransactions
public final int maxCompactCount
public final int maxCompactTime
public final int maxMemoryRowsDistinct
public int maxQueryTimeout
public final boolean nestedJoins
public final boolean optimizeDistinct
public final boolean optimizeEvaluatableSubqueries
public final boolean optimizeInsertFromSelect
public final boolean optimizeInList
public final boolean optimizeIsNull
public final boolean optimizeOr
public final boolean optimizeSubqueryCache
public final boolean optimizeTwoEquals
public final boolean optimizeUpdate
public final boolean pageStoreInternalCount
public final boolean pageStoreTrim
public final int queryCacheSize
public final boolean recompileAlways
public final int reconnectCheckDelay
public final boolean selectForUpdateMvcc
public final boolean shareLinkedConnections
private void (java.util.HashMap)
public static org.h2.constant.DbSettings getInstance (java.util.HashMap)
}
org/h2/constant/ErrorCode.classErrorCode.java
package org.h2.constant
public org.h2.constant.ErrorCode extends java.lang.Object {
public static final int NO_DATA_AVAILABLE
public static final int INVALID_PARAMETER_COUNT_2
public static final int ERROR_OPENING_DATABASE_1
public static final int WRONG_USER_OR_PASSWORD
public static final int COLUMN_COUNT_DOES_NOT_MATCH
public static final int NUMERIC_VALUE_OUT_OF_RANGE
public static final int DIVISION_BY_ZERO_1
public static final int LIKE_ESCAPE_ERROR_1
public static final int CHECK_CONSTRAINT_VIOLATED_1
public static final int DUPLICATE_KEY_1
public static final int REFERENTIAL_INTEGRITY_VIOLATED_PARENT_MISSING_1
public static final int REFERENTIAL_INTEGRITY_VIOLATED_CHILD_EXISTS_1
public static final int DEADLOCK_1
public static final int SYNTAX_ERROR_1
public static final int SYNTAX_ERROR_2
public static final int TABLE_OR_VIEW_ALREADY_EXISTS_1
public static final int TABLE_OR_VIEW_NOT_FOUND_1
public static final int INDEX_ALREADY_EXISTS_1
public static final int INDEX_NOT_FOUND_1
public static final int DUPLICATE_COLUMN_NAME_1
public static final int COLUMN_NOT_FOUND_1
public static final int GENERAL_ERROR_1
public static final int UNKNOWN_DATA_TYPE_1
public static final int FEATURE_NOT_SUPPORTED_1
public static final int LOCK_TIMEOUT_1
public static final int FUNCTION_MUST_RETURN_RESULT_SET_1
public static final int METHOD_NOT_ALLOWED_FOR_QUERY
public static final int METHOD_ONLY_ALLOWED_FOR_QUERY
public static final int HEX_STRING_ODD_1
public static final int HEX_STRING_WRONG_1
public static final int VALUE_TOO_LONG_2
public static final int NULL_NOT_ALLOWED
public static final int OBJECT_CLOSED
public static final int INVALID_VALUE_2
public static final int DATE_CONSTANT_2
public static final int TIME_CONSTANT_2
public static final int TIMESTAMP_CONSTANT_2
public static final int PARAMETER_NOT_SET_1
public static final int DATABASE_NOT_FOUND_1
public static final int PARSE_ERROR_1
public static final int SUM_OR_AVG_ON_WRONG_DATATYPE_1
public static final int MUST_GROUP_BY_COLUMN_1
public static final int SECOND_PRIMARY_KEY
public static final int TRACE_CONNECTION_NOT_CLOSED
public static final int CANNOT_DROP_CURRENT_USER
public static final int DATABASE_ALREADY_OPEN_1
public static final int DATA_CONVERSION_ERROR_1
public static final int FUNCTION_NOT_FOUND_1
public static final int COLUMN_MUST_NOT_BE_NULLABLE_1
public static final int FILE_RENAME_FAILED_2
public static final int FILE_DELETE_FAILED_1
public static final int SERIALIZATION_FAILED_1
public static final int DESERIALIZATION_FAILED_1
public static final int IO_EXCEPTION_1
public static final int NOT_ON_UPDATABLE_ROW
public static final int FILE_CORRUPTED_1
public static final int IO_EXCEPTION_2
public static final int USER_NOT_FOUND_1
public static final int USER_ALREADY_EXISTS_1
public static final int TRACE_FILE_ERROR_2
public static final int SEQUENCE_ALREADY_EXISTS_1
public static final int SEQUENCE_NOT_FOUND_1
public static final int VIEW_NOT_FOUND_1
public static final int VIEW_ALREADY_EXISTS_1
public static final int VALUE_TOO_LARGE_FOR_PRECISION_1
public static final int ADMIN_RIGHTS_REQUIRED
public static final int TRIGGER_ALREADY_EXISTS_1
public static final int TRIGGER_NOT_FOUND_1
public static final int ERROR_CREATING_TRIGGER_OBJECT_3
public static final int ERROR_EXECUTING_TRIGGER_3
public static final int CONSTRAINT_ALREADY_EXISTS_1
public static final int URL_FORMAT_ERROR_2
public static final int DRIVER_VERSION_ERROR_2
public static final int FILE_VERSION_ERROR_1
public static final int FILE_ENCRYPTION_ERROR_1
public static final int WRONG_PASSWORD_FORMAT
public static final int STATEMENT_WAS_CANCELED
public static final int SUBQUERY_IS_NOT_SINGLE_COLUMN
public static final int SCALAR_SUBQUERY_CONTAINS_MORE_THAN_ONE_ROW
public static final int INVALID_USE_OF_AGGREGATE_FUNCTION_1
public static final int UNSUPPORTED_CIPHER
public static final int NO_DEFAULT_SET_1
public static final int CONSTRAINT_NOT_FOUND_1
public static final int COMMIT_ROLLBACK_NOT_ALLOWED
public static final int AMBIGUOUS_COLUMN_NAME_1
public static final int UNSUPPORTED_LOCK_METHOD_1
public static final int EXCEPTION_OPENING_PORT_2
public static final int FILE_CREATION_FAILED_1
public static final int SAVEPOINT_IS_INVALID_1
public static final int SAVEPOINT_IS_UNNAMED
public static final int SAVEPOINT_IS_NAMED
public static final int DUPLICATE_PROPERTY_1
public static final int CONNECTION_BROKEN_1
public static final int ORDER_BY_NOT_IN_RESULT
public static final int ROLE_ALREADY_EXISTS_1
public static final int ROLE_NOT_FOUND_1
public static final int USER_OR_ROLE_NOT_FOUND_1
public static final int ROLES_AND_RIGHT_CANNOT_BE_MIXED
public static final int METHODS_MUST_HAVE_DIFFERENT_PARAMETER_COUNTS_2
public static final int ROLE_ALREADY_GRANTED_1
public static final int COLUMN_IS_PART_OF_INDEX_1
public static final int FUNCTION_ALIAS_ALREADY_EXISTS_1
public static final int FUNCTION_ALIAS_NOT_FOUND_1
public static final int SCHEMA_ALREADY_EXISTS_1
public static final int SCHEMA_NOT_FOUND_1
public static final int SCHEMA_NAME_MUST_MATCH
public static final int COLUMN_CONTAINS_NULL_VALUES_1
public static final int SEQUENCE_BELONGS_TO_A_TABLE_1
public static final int COLUMN_MAY_BE_REFERENCED_1
public static final int CANNOT_DROP_LAST_COLUMN
public static final int INDEX_BELONGS_TO_CONSTRAINT_1
public static final int CLASS_NOT_FOUND_1
public static final int METHOD_NOT_FOUND_1
public static final int UNKNOWN_MODE_1
public static final int COLLATION_CHANGE_WITH_DATA_TABLE_1
public static final int SCHEMA_CAN_NOT_BE_DROPPED_1
public static final int ROLE_CAN_NOT_BE_DROPPED_1
public static final int UNSUPPORTED_JAVA_VERSION
public static final int CLUSTER_ERROR_DATABASE_RUNS_ALONE
public static final int CLUSTER_ERROR_DATABASE_RUNS_CLUSTERED_1
public static final int STRING_FORMAT_ERROR_1
public static final int NOT_ENOUGH_RIGHTS_FOR_1
public static final int DATABASE_IS_READ_ONLY
public static final int DATABASE_IS_CLOSED
public static final int ERROR_SETTING_DATABASE_EVENT_LISTENER_2
public static final int NO_DISK_SPACE_AVAILABLE
public static final int WRONG_XID_FORMAT_1
public static final int UNSUPPORTED_COMPRESSION_OPTIONS_1
public static final int UNSUPPORTED_COMPRESSION_ALGORITHM_1
public static final int COMPRESSION_ERROR
public static final int EXCEPTION_IN_FUNCTION_1
public static final int CANNOT_TRUNCATE_1
public static final int CANNOT_DROP_2
public static final int OUT_OF_MEMORY
public static final int VIEW_IS_INVALID_2
public static final int OVERFLOW_FOR_TYPE_1
public static final int ERROR_ACCESSING_LINKED_TABLE_2
public static final int ROW_NOT_FOUND_WHEN_DELETING_1
public static final int UNSUPPORTED_SETTING_1
public static final int CONSTANT_ALREADY_EXISTS_1
public static final int CONSTANT_NOT_FOUND_1
public static final int LITERALS_ARE_NOT_ALLOWED
public static final int REMOTE_CONNECTION_NOT_ALLOWED
public static final int CANNOT_DROP_TABLE_1
public static final int USER_DATA_TYPE_ALREADY_EXISTS_1
public static final int USER_DATA_TYPE_NOT_FOUND_1
public static final int DATABASE_CALLED_AT_SHUTDOWN
public static final int OPERATION_NOT_SUPPORTED_WITH_VIEWS_2
public static final int CANNOT_MIX_INDEXED_AND_UNINDEXED_PARAMS
public static final int FILE_NOT_FOUND_1
public static final int INVALID_CLASS_2
public static final int DATABASE_IS_NOT_PERSISTENT
public static final int RESULT_SET_NOT_UPDATABLE
public static final int RESULT_SET_NOT_SCROLLABLE
public static final int TRANSACTION_NOT_FOUND_1
public static final int METHOD_NOT_ALLOWED_FOR_PREPARED_STATEMENT
public static final int CONCURRENT_UPDATE_1
public static final int AGGREGATE_NOT_FOUND_1
public static final int CANNOT_CHANGE_SETTING_WHEN_OPEN_1
public static final int ACCESS_DENIED_TO_CLASS_1
public static final int DATABASE_IS_IN_EXCLUSIVE_MODE
public static final int UNSUPPORTED_OUTER_JOIN_CONDITION_1
public static final int CAN_ONLY_ASSIGN_TO_VARIABLE_1
public static final int INVALID_DATABASE_NAME_1
public static final int PUBLIC_STATIC_JAVA_METHOD_NOT_FOUND_1
public static final int RESULT_SET_READONLY
private void ()
public static boolean isCommon (int)
public static java.lang.String getState (int)
}
org/h2/constant/SysProperties.classSysProperties.java
package org.h2.constant
public org.h2.constant.SysProperties extends java.lang.Object {
public static final String H2_SCRIPT_DIRECTORY
public static final String FILE_ENCODING
public static final String FILE_SEPARATOR
public static final String JAVA_SPECIFICATION_VERSION
public static final String LINE_SEPARATOR
public static final String USER_HOME
public static final boolean ALLOW_BIG_DECIMAL_EXTENSIONS
public static final String ALLOWED_CLASSES
public static final String BROWSER
public static final boolean ENABLE_ANONYMOUS_SSL
public static final String BIND_ADDRESS
public static final boolean CHECK
public static final boolean CHECK2
public static final String CLIENT_TRACE_DIRECTORY
public static final int COLLATOR_CACHE_SIZE
public static final boolean CONSOLE_STREAM
public static final int DATASOURCE_TRACE_LEVEL
public static final int DELAY_WRONG_PASSWORD_MIN
public static final int DELAY_WRONG_PASSWORD_MAX
public static final boolean EMPTY_PASSWORD
public static boolean lobCloseBetweenReads
public static final int LOB_FILES_PER_DIRECTORY
public static final boolean LOB_IN_DATABASE
public static final int LOB_CLIENT_MAX_SIZE_MEMORY
public static final boolean LOG_ALL_ERRORS
public static final String LOG_ALL_ERRORS_FILE
public static final int MAX_FILE_RETRY
public static final int MAX_RECONNECT
public static final long MAX_TRACE_DATA_LENGTH
public static final int MIN_COLUMN_NAME_MAP
public static final boolean NIO_LOAD_MAPPED
public static final boolean NIO_CLEANER_HACK
public static final boolean OBJECT_CACHE
public static final int OBJECT_CACHE_MAX_PER_ELEMENT_SIZE
public static final int OBJECT_CACHE_SIZE
public static final String PG_DEFAULT_CLIENT_ENCODING
public static final String PREFIX_TEMP_FILE
public static final boolean RETURN_LOB_OBJECTS
public static boolean runFinalize
public static final int SERVER_CACHED_OBJECTS
public static final int SERVER_RESULT_SET_FETCH_SIZE
public static final int SOCKET_CONNECT_RETRY
public static final int SOCKET_CONNECT_TIMEOUT
public static final boolean SORT_NULLS_HIGH
public static final long SPLIT_FILE_SIZE_SHIFT
public static final String SYNC_METHOD
public static final boolean TRACE_IO
public static final int WEB_MAX_VALUE_LENGTH
private static final String H2_BASE_DIR
private void ()
private static boolean getBooleanSetting (java.lang.String, boolean)
private static java.lang.String getProperty (java.lang.String)
public static java.lang.String getStringSetting (java.lang.String, java.lang.String)
public static int getIntSetting (java.lang.String, int)
public static void setBaseDir (java.lang.String)
public static java.lang.String getBaseDir ()
public static java.lang.String getScriptDirectory ()
static void ()
}
org/h2/constraint/Constraint.classConstraint.java
package org.h2.constraint
public abstract org.h2.constraint.Constraint extends org.h2.schema.SchemaObjectBase implements java.lang.Comparable {
public static final String CHECK
public static final String REFERENTIAL
public static final String UNIQUE
public static final String PRIMARY_KEY
protected org.h2.table.Table table
public void (org.h2.schema.Schema, int, java.lang.String, org.h2.table.Table)
public abstract java.lang.String getConstraintType ()
public abstract void checkRow (org.h2.engine.Session, org.h2.table.Table, org.h2.result.Row, org.h2.result.Row)
public abstract boolean usesIndex (org.h2.index.Index)
public abstract void setIndexOwner (org.h2.index.Index)
public abstract boolean containsColumn (org.h2.table.Column)
public abstract java.lang.String getCreateSQLWithoutIndexes ()
public abstract boolean isBefore ()
public abstract void checkExistingData (org.h2.engine.Session)
public abstract void rebuild ()
public abstract org.h2.index.Index getUniqueIndex ()
public void checkRename ()
public int getType ()
public org.h2.table.Table getTable ()
public org.h2.table.Table getRefTable ()
public java.lang.String getDropSQL ()
private int getConstraintTypeOrder ()
public int compareTo (org.h2.constraint.Constraint)
public boolean isHidden ()
public volatile synthetic int compareTo (java.lang.Object)
}
org/h2/constraint/ConstraintCheck.classConstraintCheck.java
package org.h2.constraint
public org.h2.constraint.ConstraintCheck extends org.h2.constraint.Constraint {
private org.h2.table.TableFilter filter
private org.h2.expression.Expression expr
public void (org.h2.schema.Schema, int, java.lang.String, org.h2.table.Table)
public java.lang.String getConstraintType ()
public void setTableFilter (org.h2.table.TableFilter)
public void setExpression (org.h2.expression.Expression)
public java.lang.String getCreateSQLForCopy (org.h2.table.Table, java.lang.String)
private java.lang.String getShortDescription ()
public java.lang.String getCreateSQLWithoutIndexes ()
public java.lang.String getCreateSQL ()
public void removeChildrenAndResources (org.h2.engine.Session)
public void checkRow (org.h2.engine.Session, org.h2.table.Table, org.h2.result.Row, org.h2.result.Row)
public boolean usesIndex (org.h2.index.Index)
public void setIndexOwner (org.h2.index.Index)
public boolean containsColumn (org.h2.table.Column)
public org.h2.expression.Expression getExpression ()
public boolean isBefore ()
public void checkExistingData (org.h2.engine.Session)
public org.h2.index.Index getUniqueIndex ()
public void rebuild ()
}
org/h2/constraint/ConstraintReferential.classConstraintReferential.java
package org.h2.constraint
public org.h2.constraint.ConstraintReferential extends org.h2.constraint.Constraint {
public static final int RESTRICT
public static final int CASCADE
public static final int SET_DEFAULT
public static final int SET_NULL
private org.h2.table.IndexColumn[] columns
private org.h2.table.IndexColumn[] refColumns
private int deleteAction
private int updateAction
private org.h2.table.Table refTable
private org.h2.index.Index index
private org.h2.index.Index refIndex
private boolean indexOwner
private boolean refIndexOwner
private String deleteSQL
private String updateSQL
private boolean skipOwnTable
public void (org.h2.schema.Schema, int, java.lang.String, org.h2.table.Table)
public java.lang.String getConstraintType ()
private void appendAction (org.h2.util.StatementBuilder, int)
public java.lang.String getCreateSQLForCopy (org.h2.table.Table, java.lang.String)
public java.lang.String getCreateSQLForCopy (org.h2.table.Table, org.h2.table.Table, java.lang.String, boolean)
private java.lang.String getShortDescription ()
public java.lang.String getCreateSQLWithoutIndexes ()
public java.lang.String getCreateSQL ()
public void setColumns (org.h2.table.IndexColumn[])
public org.h2.table.IndexColumn[] getColumns ()
public void setRefColumns (org.h2.table.IndexColumn[])
public org.h2.table.IndexColumn[] getRefColumns ()
public void setRefTable (org.h2.table.Table)
public void setIndex (org.h2.index.Index, boolean)
public void setRefIndex (org.h2.index.Index, boolean)
public void removeChildrenAndResources (org.h2.engine.Session)
public void checkRow (org.h2.engine.Session, org.h2.table.Table, org.h2.result.Row, org.h2.result.Row)
private void checkRowOwnTable (org.h2.engine.Session, org.h2.result.Row, org.h2.result.Row)
private boolean existsRow (org.h2.engine.Session, org.h2.index.Index, org.h2.result.SearchRow, org.h2.result.Row)
private boolean isEqual (org.h2.result.Row, org.h2.result.Row)
private void checkRow (org.h2.engine.Session, org.h2.result.Row)
private void checkRowRefTable (org.h2.engine.Session, org.h2.result.Row, org.h2.result.Row)
private void updateWithSkipCheck (org.h2.command.Prepared)
private void setWhere (org.h2.command.Prepared, int, org.h2.result.Row)
public int getDeleteAction ()
public void setDeleteAction (int)
private void buildDeleteSQL ()
private org.h2.command.Prepared getUpdate (org.h2.engine.Session)
private org.h2.command.Prepared getDelete (org.h2.engine.Session)
public int getUpdateAction ()
public void setUpdateAction (int)
private void buildUpdateSQL ()
public void rebuild ()
private org.h2.command.Prepared prepare (org.h2.engine.Session, java.lang.String, int)
private void appendUpdate (org.h2.util.StatementBuilder)
private void appendWhere (org.h2.util.StatementBuilder)
public org.h2.table.Table getRefTable ()
public boolean usesIndex (org.h2.index.Index)
public void setIndexOwner (org.h2.index.Index)
public boolean containsColumn (org.h2.table.Column)
public boolean isBefore ()
public void checkExistingData (org.h2.engine.Session)
public org.h2.index.Index getUniqueIndex ()
}
org/h2/constraint/ConstraintUnique.classConstraintUnique.java
package org.h2.constraint
public org.h2.constraint.ConstraintUnique extends org.h2.constraint.Constraint {
private org.h2.index.Index index
private boolean indexOwner
private org.h2.table.IndexColumn[] columns
private boolean primaryKey
public void (org.h2.schema.Schema, int, java.lang.String, org.h2.table.Table, boolean)
public java.lang.String getConstraintType ()
public java.lang.String getCreateSQLForCopy (org.h2.table.Table, java.lang.String)
private java.lang.String getCreateSQLForCopy (org.h2.table.Table, java.lang.String, boolean)
private java.lang.String getTypeName ()
public java.lang.String getCreateSQLWithoutIndexes ()
public java.lang.String getCreateSQL ()
public void setColumns (org.h2.table.IndexColumn[])
public org.h2.table.IndexColumn[] getColumns ()
public void setIndex (org.h2.index.Index, boolean)
public void removeChildrenAndResources (org.h2.engine.Session)
public void checkRow (org.h2.engine.Session, org.h2.table.Table, org.h2.result.Row, org.h2.result.Row)
public boolean usesIndex (org.h2.index.Index)
public void setIndexOwner (org.h2.index.Index)
public boolean containsColumn (org.h2.table.Column)
public boolean isBefore ()
public void checkExistingData (org.h2.engine.Session)
public org.h2.index.Index getUniqueIndex ()
public void rebuild ()
}
org/h2/Driver.classDriver.java
package org.h2
public org.h2.Driver extends java.lang.Object implements java.sql.Driver {
private static final org.h2.Driver INSTANCE
private static volatile boolean registered
public void ()
public java.sql.Connection connect (java.lang.String, java.util.Properties) throws java.sql.SQLException
public boolean acceptsURL (java.lang.String)
public int getMajorVersion ()
public int getMinorVersion ()
public java.sql.DriverPropertyInfo[] getPropertyInfo (java.lang.String, java.util.Properties)
public boolean jdbcCompliant ()
public static synchronized org.h2.Driver load ()
public static synchronized void unload ()
static void ()
}
org/h2/engine/Comment.classComment.java
package org.h2.engine
public org.h2.engine.Comment extends org.h2.engine.DbObjectBase {
private final int objectType
private final String objectName
private String commentText
public void (org.h2.engine.Database, int, org.h2.engine.DbObject)
public java.lang.String getCreateSQLForCopy (org.h2.table.Table, java.lang.String)
private static java.lang.String getTypeName (int)
public java.lang.String getDropSQL ()
public java.lang.String getCreateSQL ()
public int getType ()
public void removeChildrenAndResources (org.h2.engine.Session)
public void checkRename ()
public static java.lang.String getKey (org.h2.engine.DbObject)
public void setCommentText (java.lang.String)
}
org/h2/engine/ConnectionInfo.classConnectionInfo.java
package org.h2.engine
public org.h2.engine.ConnectionInfo extends java.lang.Object implements java.lang.Cloneable {
private static final java.util.HashSet KNOWN_SETTINGS
private java.util.Properties prop
private String originalURL
private String url
private String user
private byte[] filePasswordHash
private byte[] userPasswordHash
private String name
private String nameNormalized
private boolean remote
private boolean ssl
private boolean persistent
private boolean unnamed
public void (java.lang.String)
public void (java.lang.String, java.util.Properties)
private static boolean isKnownSetting (java.lang.String)
public java.lang.Object clone () throws java.lang.CloneNotSupportedException
private void parseName ()
public void setBaseDir (java.lang.String)
public boolean isRemote ()
boolean isPersistent ()
boolean isUnnamedInMemory ()
private void readProperties (java.util.Properties)
private void readSettingsFromURL ()
private char[] removePassword ()
private void convertPasswords ()
private byte[] hashPassword (boolean, java.lang.String, char[])
public boolean getProperty (java.lang.String, boolean)
public boolean removeProperty (java.lang.String, boolean)
java.lang.String removeProperty (java.lang.String, java.lang.String)
public java.lang.String getName ()
byte[] getFilePasswordHash ()
public java.lang.String getUserName ()
byte[] getUserPasswordHash ()
java.lang.String[] getKeys ()
java.lang.String getProperty (java.lang.String)
public int getProperty (java.lang.String, int)
public java.lang.String getProperty (java.lang.String, java.lang.String)
java.lang.String getProperty (int, java.lang.String)
int getIntProperty (int, int)
boolean isSSL ()
public void setUserName (java.lang.String)
public void setUserPasswordHash (byte[])
public void setFilePasswordHash (byte[])
public void setProperty (java.lang.String, java.lang.String)
public java.lang.String getURL ()
public java.lang.String getOriginalURL ()
public void setOriginalURL (java.lang.String)
org.h2.message.DbException getFormatException ()
public void setServerKey (java.lang.String)
org.h2.constant.DbSettings getDbSettings ()
static void ()
}
org/h2/engine/Constants.classConstants.java
package org.h2.engine
public org.h2.engine.Constants extends java.lang.Object {
public static final String BUILD_DATE
public static final String BUILD_DATE_STABLE
public static final int BUILD_ID
public static final int BUILD_ID_STABLE
public static final String BUILD_VENDOR_AND_VERSION
public static final int TCP_PROTOCOL_VERSION_6
public static final int TCP_PROTOCOL_VERSION_7
public static final int TCP_PROTOCOL_VERSION_8
public static final int VERSION_MAJOR
public static final int VERSION_MINOR
public static final int LOCK_MODE_OFF
public static final int LOCK_MODE_READ_COMMITTED
public static final int LOCK_MODE_TABLE
public static final int LOCK_MODE_TABLE_GC
public static final int ALLOW_LITERALS_ALL
public static final int ALLOW_LITERALS_NONE
public static final int ALLOW_LITERALS_NUMBERS
public static final boolean BLOB_SEARCH
public static final int CACHE_MIN_RECORDS
public static final int CACHE_SIZE_DEFAULT
public static final String CACHE_TYPE_DEFAULT
public static final String CLUSTERING_DISABLED
public static final String CLUSTERING_ENABLED
public static final String CONN_URL_COLUMNLIST
public static final String CONN_URL_INTERNAL
public static final int COST_ROW_OFFSET
public static final int DEADLOCK_CHECK
public static final int DEFAULT_HTTP_PORT
public static final int DEFAULT_LOCK_MODE
public static final int DEFAULT_MAX_LENGTH_INPLACE_LOB
public static final int DEFAULT_MAX_LENGTH_INPLACE_LOB2
public static final long DEFAULT_MAX_LOG_SIZE
public static final int DEFAULT_MAX_MEMORY_ROWS
public static final int DEFAULT_MAX_MEMORY_UNDO
public static final int DEFAULT_MAX_OPERATION_MEMORY
public static final int DEFAULT_PAGE_SIZE
public static final int DEFAULT_RESULT_SET_CONCURRENCY
public static final int DEFAULT_TCP_PORT
public static final int DEFAULT_WRITE_DELAY
public static final int ENCRYPTION_KEY_HASH_ITERATIONS
public static final int FILE_BLOCK_SIZE
public static final int INITIAL_LOCK_TIMEOUT
public static final int IO_BUFFER_SIZE
public static final int IO_BUFFER_SIZE_COMPRESS
public static final int LOCK_SLEEP
public static final int MAX_PARAMETER_INDEX
public static final int MEMORY_DATA
public static final int MEMORY_FACTOR
public static final int MEMORY_OBJECT
public static final int MEMORY_PAGE_BTREE
public static final int MEMORY_PAGE_DATA
public static final int MEMORY_PAGE_DATA_OVERFLOW
public static final int MEMORY_POINTER
public static final int MEMORY_ROW
public static final int MIN_WRITE_DELAY
public static final String PREFIX_INDEX
public static final String PREFIX_JOIN
public static final String PREFIX_PRIMARY_KEY
public static final String PUBLIC_ROLE_NAME
public static final int SALT_LEN
public static final String SCHEMA_MAIN
public static final int SELECTIVITY_DEFAULT
public static final int SELECTIVITY_DISTINCT_COUNT
public static final String SERVER_PROPERTIES_DIR
public static final String SERVER_PROPERTIES_NAME
public static final long SLOW_QUERY_LIMIT_MS
public static final String START_URL
public static final String SUFFIX_DB_FILE
public static final String SUFFIX_LOB_FILE
public static final String SUFFIX_LOBS_DIRECTORY
public static final String SUFFIX_LOCK_FILE
public static final String SUFFIX_PAGE_FILE
public static final String SUFFIX_TEMP_FILE
public static final String SUFFIX_TRACE_FILE
public static final int THROTTLE_DELAY
public static final int UNDO_BLOCK_SIZE
public static final String URL_FORMAT
public static final String USER_PACKAGE
public static final String UTF8
public static final int VIEW_COST_CACHE_MAX_AGE
public static final int VIEW_INDEX_CACHE_SIZE
private void ()
public static java.lang.String getVersion ()
public static java.lang.Object getVersionStable ()
public static java.lang.String getFullVersion ()
static void ()
}
org/h2/engine/Database.classDatabase.java
package org.h2.engine
public org.h2.engine.Database extends java.lang.Object implements org.h2.store.DataHandler {
private static int initialPowerOffCount
private static final String SYSTEM_USER_NAME
private final boolean persistent
private final String databaseName
private final String databaseShortName
private final String databaseURL
private final String cipher
private final byte[] filePasswordHash
private final java.util.HashMap roles
private final java.util.HashMap users
private final java.util.HashMap settings
private final java.util.HashMap schemas
private final java.util.HashMap rights
private final java.util.HashMap userDataTypes
private final java.util.HashMap aggregates
private final java.util.HashMap comments
private final java.util.Set userSessions
private org.h2.engine.Session exclusiveSession
private final org.h2.util.BitField objectIds
private final Object lobSyncObject
private org.h2.schema.Schema mainSchema
private org.h2.schema.Schema infoSchema
private int nextSessionId
private int nextTempTableId
private org.h2.engine.User systemUser
private org.h2.engine.Session systemSession
private org.h2.table.Table meta
private org.h2.index.Index metaIdIndex
private org.h2.store.FileLock lock
private org.h2.store.WriterThread writer
private boolean starting
private org.h2.message.TraceSystem traceSystem
private org.h2.message.Trace trace
private int fileLockMethod
private org.h2.engine.Role publicRole
private long modificationDataId
private long modificationMetaId
private org.h2.value.CompareMode compareMode
private String cluster
private boolean readOnly
private boolean noDiskSpace
private int writeDelay
private org.h2.api.DatabaseEventListener eventListener
private int maxMemoryRows
private int maxMemoryUndo
private int lockMode
private int maxLengthInplaceLob
private int allowLiterals
private int powerOffCount
private int closeDelay
private org.h2.engine.DatabaseCloser delayedCloser
private volatile boolean closing
private boolean ignoreCase
private boolean deleteFilesOnDisconnect
private String lobCompressionAlgorithm
private boolean optimizeReuseResults
private String cacheType
private String accessModeData
private boolean referentialIntegrity
private boolean multiVersion
private org.h2.engine.DatabaseCloser closeOnExit
private org.h2.engine.Mode mode
private boolean multiThreaded
private int maxOperationMemory
private org.h2.util.SmallLRUCache lobFileListCache
private boolean autoServerMode
private org.h2.tools.Server server
private java.util.HashMap linkConnections
private org.h2.util.TempFileDeleter tempFileDeleter
private org.h2.store.PageStore pageStore
private java.util.Properties reconnectLastLock
private volatile long reconnectCheckNext
private volatile boolean reconnectChangePending
private volatile int checkpointAllowed
private volatile boolean checkpointRunning
private final Object reconnectSync
private int cacheSize
private int compactMode
private org.h2.util.SourceCompiler compiler
private volatile boolean metaTablesInitialized
private boolean flushOnEachCommit
private org.h2.store.LobStorage lobStorage
private int pageSize
private int defaultTableType
private final org.h2.constant.DbSettings dbSettings
private final int reconnectCheckDelay
public void (org.h2.engine.ConnectionInfo, java.lang.String)
private void openDatabase (int, int, boolean)
public static void setInitialPowerOffCount (int)
public void setPowerOffCount (int)
public boolean areEqual (org.h2.value.Value, org.h2.value.Value)
public int compare (org.h2.value.Value, org.h2.value.Value)
public int compareTypeSave (org.h2.value.Value, org.h2.value.Value)
public long getModificationDataId ()
synchronized boolean reconnectModified (boolean)
public long getNextModificationDataId ()
public long getModificationMetaId ()
public long getNextModificationMetaId ()
public int getPowerOffCount ()
public void checkPowerOff ()
public static boolean exists (java.lang.String)
public org.h2.message.Trace getTrace (java.lang.String)
public org.h2.store.FileStore openFile (java.lang.String, java.lang.String, boolean)
public boolean validateFilePasswordHash (java.lang.String, byte[])
private java.lang.String parseDatabaseShortName ()
private synchronized void open (int, int)
private void startServer (java.lang.String)
private void stopServer ()
private void recompileInvalidViews (org.h2.engine.Session)
private void initMetaTables ()
private synchronized void addMeta (org.h2.engine.Session, org.h2.engine.DbObject)
public synchronized void removeMeta (org.h2.engine.Session, int)
private java.util.HashMap getMap (int)
public synchronized void addSchemaObject (org.h2.engine.Session, org.h2.schema.SchemaObject)
public synchronized void addDatabaseObject (org.h2.engine.Session, org.h2.engine.DbObject)
public org.h2.engine.UserAggregate findAggregate (java.lang.String)
public org.h2.engine.Comment findComment (org.h2.engine.DbObject)
public org.h2.engine.Role findRole (java.lang.String)
public org.h2.schema.Schema findSchema (java.lang.String)
public org.h2.engine.Setting findSetting (java.lang.String)
public org.h2.engine.User findUser (java.lang.String)
public org.h2.engine.UserDataType findUserDataType (java.lang.String)
public org.h2.engine.User getUser (java.lang.String)
public synchronized org.h2.engine.Session createSession (org.h2.engine.User)
public synchronized void removeSession (org.h2.engine.Session)
private synchronized void closeAllSessionsException (org.h2.engine.Session)
synchronized void close (boolean)
private void stopWriter ()
private synchronized void closeOpenFilesAndUnlock (boolean)
private void closeFiles ()
private void checkMetaFree (org.h2.engine.Session, int)
public synchronized int allocateObjectId ()
public java.util.ArrayList getAllAggregates ()
public java.util.ArrayList getAllComments ()
public int getAllowLiterals ()
public java.util.ArrayList getAllRights ()
public java.util.ArrayList getAllRoles ()
public java.util.ArrayList getAllSchemaObjects ()
public java.util.ArrayList getAllSchemaObjects (int)
public java.util.ArrayList getAllTablesAndViews (boolean)
public java.util.ArrayList getAllSchemas ()
public java.util.ArrayList getAllSettings ()
public java.util.ArrayList getAllUserDataTypes ()
public java.util.ArrayList getAllUsers ()
public java.lang.String getCacheType ()
public java.lang.String getCluster ()
public org.h2.value.CompareMode getCompareMode ()
public java.lang.String getDatabasePath ()
public java.lang.String getShortName ()
public java.lang.String getName ()
public org.h2.engine.Session[] getSessions (boolean)
public synchronized void update (org.h2.engine.Session, org.h2.engine.DbObject)
public synchronized void renameSchemaObject (org.h2.engine.Session, org.h2.schema.SchemaObject, java.lang.String)
private synchronized void updateWithChildren (org.h2.engine.Session, org.h2.engine.DbObject)
public synchronized void renameDatabaseObject (org.h2.engine.Session, org.h2.engine.DbObject, java.lang.String)
public java.lang.String createTempFile ()
private void deleteOldTempFiles ()
public org.h2.schema.Schema getSchema (java.lang.String)
public synchronized void removeDatabaseObject (org.h2.engine.Session, org.h2.engine.DbObject)
public org.h2.table.Table getDependentTable (org.h2.schema.SchemaObject, org.h2.table.Table)
public synchronized void removeSchemaObject (org.h2.engine.Session, org.h2.schema.SchemaObject)
public boolean isPersistent ()
public org.h2.message.TraceSystem getTraceSystem ()
public synchronized void setCacheSize (int)
public synchronized void setMasterUser (org.h2.engine.User)
public org.h2.engine.Role getPublicRole ()
public synchronized java.lang.String getTempTableName (org.h2.engine.Session)
public void setCompareMode (org.h2.value.CompareMode)
public void setCluster (java.lang.String)
public void checkWritingAllowed ()
public boolean isReadOnly ()
public void setWriteDelay (int)
public boolean getFlushOnEachCommit ()
public java.util.ArrayList getInDoubtTransactions ()
public void prepareCommit (org.h2.engine.Session, java.lang.String)
public void commit (org.h2.engine.Session)
public void flush ()
public void setEventListener (org.h2.api.DatabaseEventListener)
public void setEventListenerClass (java.lang.String)
public synchronized void freeUpDiskSpace ()
public void setProgress (int, java.lang.String, int, int)
public void exceptionThrown (java.sql.SQLException, java.lang.String)
public void sync ()
public int getMaxMemoryRows ()
public void setMaxMemoryRows (int)
public void setMaxMemoryUndo (int)
public int getMaxMemoryUndo ()
public void setLockMode (int)
public int getLockMode ()
public synchronized void setCloseDelay (int)
public org.h2.engine.Session getSystemSession ()
public boolean isClosing ()
public void setMaxLengthInplaceLob (int)
public int getMaxLengthInplaceLob ()
public void setIgnoreCase (boolean)
public boolean getIgnoreCase ()
public synchronized void setDeleteFilesOnDisconnect (boolean)
public java.lang.String getLobCompressionAlgorithm (int)
public void setLobCompressionAlgorithm (java.lang.String)
public synchronized void setMaxLogSize (long)
public void setAllowLiterals (int)
public boolean getOptimizeReuseResults ()
public void setOptimizeReuseResults (boolean)
public java.lang.Object getLobSyncObject ()
public int getSessionCount ()
public void setReferentialIntegrity (boolean)
public boolean getReferentialIntegrity ()
public boolean isStarting ()
public boolean isMultiVersion ()
public void opened ()
public void setMode (org.h2.engine.Mode)
public org.h2.engine.Mode getMode ()
public boolean isMultiThreaded ()
public void setMultiThreaded (boolean)
public void setMaxOperationMemory (int)
public int getMaxOperationMemory ()
public org.h2.engine.Session getExclusiveSession ()
public void setExclusiveSession (org.h2.engine.Session, boolean)
public org.h2.util.SmallLRUCache getLobFileListCache ()
public boolean isSysTableLocked ()
public org.h2.table.TableLinkConnection getLinkConnection (java.lang.String, java.lang.String, java.lang.String, java.lang.String)
public java.lang.String toString ()
public void shutdownImmediately ()
public org.h2.util.TempFileDeleter getTempFileDeleter ()
public org.h2.store.PageStore getPageStore ()
public org.h2.table.Table getFirstUserTable ()
public boolean isReconnectNeeded ()
public void checkpointIfRequired ()
public boolean isFileLockSerialized ()
private void flushSequences ()
public void checkpoint ()
public boolean beforeWriting ()
public void afterWriting ()
public void setReadOnly (boolean)
public void setCompactMode (int)
public org.h2.util.SourceCompiler getCompiler ()
public org.h2.store.LobStorage getLobStorage ()
public java.sql.Connection getLobConnection ()
public void setLogMode (int)
public int getLogMode ()
public int getDefaultTableType ()
public void setDefaultTableType (int)
public void setMultiVersion (boolean)
public org.h2.constant.DbSettings getSettings ()
}
org/h2/engine/DatabaseCloser.classDatabaseCloser.java
package org.h2.engine
public org.h2.engine.DatabaseCloser extends java.lang.Thread {
private final boolean shutdownHook
private final org.h2.message.Trace trace
private volatile java.lang.ref.WeakReference databaseRef
private int delayInMillis
private boolean stopImmediately
void (org.h2.engine.Database, int, boolean)
public void reset ()
public void run ()
}
org/h2/engine/DbObject.classDbObject.java
package org.h2.engine
public abstract org.h2.engine.DbObject extends java.lang.Object {
public static final int TABLE_OR_VIEW
public static final int INDEX
public static final int USER
public static final int SEQUENCE
public static final int TRIGGER
public static final int CONSTRAINT
public static final int SETTING
public static final int ROLE
public static final int RIGHT
public static final int FUNCTION_ALIAS
public static final int SCHEMA
public static final int CONSTANT
public static final int USER_DATATYPE
public static final int COMMENT
public static final int AGGREGATE
public abstract void setModified ()
public abstract long getModificationId ()
public abstract java.lang.String getSQL ()
public abstract java.util.ArrayList getChildren ()
public abstract org.h2.engine.Database getDatabase ()
public abstract int getId ()
public abstract java.lang.String getName ()
public abstract java.lang.String getCreateSQLForCopy (org.h2.table.Table, java.lang.String)
public abstract java.lang.String getCreateSQL ()
public abstract java.lang.String getDropSQL ()
public abstract int getType ()
public abstract void removeChildrenAndResources (org.h2.engine.Session)
public abstract void checkRename ()
public abstract void rename (java.lang.String)
public abstract boolean isTemporary ()
public abstract void setTemporary (boolean)
public abstract void setComment (java.lang.String)
public abstract java.lang.String getComment ()
}
org/h2/engine/DbObjectBase.classDbObjectBase.java
package org.h2.engine
public abstract org.h2.engine.DbObjectBase extends java.lang.Object implements org.h2.engine.DbObject {
protected org.h2.engine.Database database
protected org.h2.message.Trace trace
protected String comment
private int id
private String objectName
private long modificationId
private boolean temporary
public void ()
protected void initDbObjectBase (org.h2.engine.Database, int, java.lang.String, java.lang.String)
public abstract java.lang.String getCreateSQLForCopy (org.h2.table.Table, java.lang.String)
public abstract java.lang.String getCreateSQL ()
public abstract java.lang.String getDropSQL ()
public abstract int getType ()
public abstract void removeChildrenAndResources (org.h2.engine.Session)
public abstract void checkRename ()
public void setModified ()
public long getModificationId ()
protected void setObjectName (java.lang.String)
public java.lang.String getSQL ()
public java.util.ArrayList getChildren ()
public org.h2.engine.Database getDatabase ()
public int getId ()
public java.lang.String getName ()
protected void invalidate ()
public void rename (java.lang.String)
public boolean isTemporary ()
public void setTemporary (boolean)
public void setComment (java.lang.String)
public java.lang.String getComment ()
public java.lang.String toString ()
}
org/h2/engine/Engine.classEngine.java
package org.h2.engine
public org.h2.engine.Engine extends java.lang.Object implements org.h2.engine.SessionFactory {
private static final org.h2.engine.Engine INSTANCE
private final java.util.HashMap databases
private volatile long wrongPasswordDelay
private boolean jmx
public void ()
public static org.h2.engine.Engine getInstance ()
private org.h2.engine.Session openSession (org.h2.engine.ConnectionInfo, boolean, java.lang.String)
public org.h2.engine.Session createSession (org.h2.engine.ConnectionInfo)
private org.h2.engine.Session createSessionAndValidate (org.h2.engine.ConnectionInfo)
private synchronized org.h2.engine.Session openSession (org.h2.engine.ConnectionInfo)
private void checkClustering (org.h2.engine.ConnectionInfo, org.h2.engine.Database)
public void close (java.lang.String)
private void validateUserAndPassword (boolean)
public volatile synthetic org.h2.engine.SessionInterface createSession (org.h2.engine.ConnectionInfo) throws java.sql.SQLException
static void ()
}
org/h2/engine/FunctionAlias$JavaMethod.classFunctionAlias.java
package org.h2.engine
public org.h2.engine.FunctionAlias$JavaMethod extends java.lang.Object implements java.lang.Comparable {
private final int id
private final java.lang.reflect.Method method
private final int dataType
private boolean hasConnectionParam
private boolean varArgs
private Class varArgClass
private int paramCount
void (java.lang.reflect.Method, int)
public java.lang.String toString ()
public boolean hasConnectionParam ()
public org.h2.value.Value getValue (org.h2.engine.Session, org.h2.expression.Expression[], boolean)
public java.lang.Class[] getColumnClasses ()
public int getDataType ()
public int getParameterCount ()
public boolean isVarArgs ()
public int compareTo (org.h2.engine.FunctionAlias$JavaMethod)
public volatile synthetic int compareTo (java.lang.Object)
}
org/h2/engine/FunctionAlias.classFunctionAlias.java
package org.h2.engine
public org.h2.engine.FunctionAlias extends org.h2.schema.SchemaObjectBase {
private String className
private String methodName
private String source
private org.h2.engine.FunctionAlias$JavaMethod[] javaMethods
private boolean deterministic
private void (org.h2.schema.Schema, int, java.lang.String)
public static org.h2.engine.FunctionAlias newInstance (org.h2.schema.Schema, int, java.lang.String, java.lang.String, boolean)
public static org.h2.engine.FunctionAlias newInstanceFromSource (org.h2.schema.Schema, int, java.lang.String, java.lang.String, boolean)
private void init (boolean)
private synchronized void load ()
private void loadFromSource ()
private void loadClass ()
private java.lang.String getMethodSignature (java.lang.reflect.Method)
public java.lang.String getCreateSQLForCopy (org.h2.table.Table, java.lang.String)
public java.lang.String getDropSQL ()
public java.lang.String getSQL ()
public java.lang.String getCreateSQL ()
public int getType ()
public synchronized void removeChildrenAndResources (org.h2.engine.Session)
public void checkRename ()
public org.h2.engine.FunctionAlias$JavaMethod findJavaMethod (org.h2.expression.Expression[])
public java.lang.String getJavaClassName ()
public java.lang.String getJavaMethodName ()
public org.h2.engine.FunctionAlias$JavaMethod[] getJavaMethods ()
public void setDeterministic (boolean)
public boolean isDeterministic ()
public java.lang.String getSource ()
static boolean isVarArgs (java.lang.reflect.Method)
}
org/h2/engine/MetaRecord.classMetaRecord.java
package org.h2.engine
public org.h2.engine.MetaRecord extends java.lang.Object implements java.lang.Comparable {
private int id
private int objectType
private String sql
public void (org.h2.result.SearchRow)
void (org.h2.engine.DbObject)
void setRecord (org.h2.result.SearchRow)
void execute (org.h2.engine.Database, org.h2.engine.Session, org.h2.api.DatabaseEventListener)
public int getId ()
public int getObjectType ()
public java.lang.String getSQL ()
public int compareTo (org.h2.engine.MetaRecord)
private int getCreateOrder (int)
public volatile synthetic int compareTo (java.lang.Object)
}
org/h2/engine/Mode.classMode.java
package org.h2.engine
public org.h2.engine.Mode extends java.lang.Object {
public static final String REGULAR
private static final java.util.HashMap MODES
public boolean aliasColumnName
public boolean convertInsertNullToZero
public boolean convertOnlyToSmallerScale
public boolean indexDefinitionInCreateTable
public boolean lowerCaseIdentifiers
public boolean nullConcatIsNull
public boolean roundWhenConvertToLong
public boolean squareBracketQuotedNames
public boolean supportOffsetFetch
public boolean systemColumns
public boolean uniqueIndexSingleNull
public boolean uniqueIndexSingleNullExceptAllColumnsAreNull
public boolean allowPlusForStringConcat
private String name
private void (java.lang.String)
private static void add (org.h2.engine.Mode)
public static org.h2.engine.Mode getInstance (java.lang.String)
public java.lang.String getName ()
static void ()
}
org/h2/engine/Procedure.classProcedure.java
package org.h2.engine
public org.h2.engine.Procedure extends java.lang.Object {
private final String name
private final org.h2.command.Prepared prepared
public void (java.lang.String, org.h2.command.Prepared)
public java.lang.String getName ()
public org.h2.command.Prepared getPrepared ()
}
org/h2/engine/Right.classRight.java
package org.h2.engine
public org.h2.engine.Right extends org.h2.engine.DbObjectBase {
public static final int SELECT
public static final int DELETE
public static final int INSERT
public static final int UPDATE
public static final int ALL
private org.h2.engine.Role grantedRole
private int grantedRight
private org.h2.table.Table grantedTable
private org.h2.engine.RightOwner grantee
public void (org.h2.engine.Database, int, org.h2.engine.RightOwner, org.h2.engine.Role)
public void (org.h2.engine.Database, int, org.h2.engine.RightOwner, int, org.h2.table.Table)
private boolean appendRight (java.lang.StringBuilder, int, int, java.lang.String, boolean)
public java.lang.String getRights ()
public org.h2.engine.Role getGrantedRole ()
public org.h2.table.Table getGrantedTable ()
public org.h2.engine.DbObject getGrantee ()
public java.lang.String getDropSQL ()
public java.lang.String getCreateSQLForCopy (org.h2.table.Table, java.lang.String)
public java.lang.String getCreateSQL ()
public int getType ()
public void removeChildrenAndResources (org.h2.engine.Session)
public void checkRename ()
public void setRightMask (int)
public int getRightMask ()
}
org/h2/engine/RightOwner.classRightOwner.java
package org.h2.engine
public abstract org.h2.engine.RightOwner extends org.h2.engine.DbObjectBase {
private java.util.HashMap grantedRoles
private java.util.HashMap grantedRights
protected void (org.h2.engine.Database, int, java.lang.String, java.lang.String)
public boolean isRoleGranted (org.h2.engine.Role)
boolean isRightGrantedRecursive (org.h2.table.Table, int)
public void grantRight (org.h2.table.Table, org.h2.engine.Right)
public void revokeRight (org.h2.table.Table)
public void grantRole (org.h2.engine.Role, org.h2.engine.Right)
public void revokeRole (org.h2.engine.Role)
public org.h2.engine.Right getRightForTable (org.h2.table.Table)
public org.h2.engine.Right getRightForRole (org.h2.engine.Role)
}
org/h2/engine/Role.classRole.java
package org.h2.engine
public org.h2.engine.Role extends org.h2.engine.RightOwner {
private final boolean system
public void (org.h2.engine.Database, int, java.lang.String, boolean)
public java.lang.String getCreateSQLForCopy (org.h2.table.Table, java.lang.String)
public java.lang.String getDropSQL ()
public java.lang.String getCreateSQL (boolean)
public java.lang.String getCreateSQL ()
public int getType ()
public void removeChildrenAndResources (org.h2.engine.Session)
public void checkRename ()
}
org/h2/engine/Session.classSession.java
package org.h2.engine
public org.h2.engine.Session extends org.h2.engine.SessionWithState {
public static final int LOG_WRITTEN
private static final String SYSTEM_IDENTIFIER_PREFIX
private static int nextSerialId
private final int serialId
private org.h2.engine.Database database
private org.h2.engine.ConnectionInfo connectionInfo
private org.h2.engine.User user
private int id
private java.util.ArrayList locks
private org.h2.engine.UndoLog undoLog
private boolean autoCommit
private java.util.Random random
private int lockTimeout
private org.h2.value.Value lastIdentity
private org.h2.value.Value scopeIdentity
private int firstUncommittedLog
private int firstUncommittedPos
private java.util.HashMap savepoints
private Exception openStackTrace
private java.util.HashMap localTempTables
private java.util.HashMap localTempTableIndexes
private java.util.HashMap localTempTableConstraints
private int throttle
private long lastThrottle
private org.h2.command.Command currentCommand
private boolean allowLiterals
private String currentSchemaName
private String[] schemaSearchPath
private org.h2.message.Trace trace
private java.util.HashMap unlinkLobMap
private int systemIdentifier
private java.util.HashMap procedures
private boolean undoLogEnabled
private boolean redoLogBinary
private boolean autoCommitAtTransactionEnd
private String currentTransactionName
private volatile long cancelAt
private boolean closed
private long sessionStart
private long currentCommandStart
private java.util.HashMap variables
private java.util.HashSet temporaryResults
private int queryTimeout
private boolean commitOrRollbackDisabled
private org.h2.table.Table waitForLock
private int modificationId
private int modificationIdState
private int objectId
private final int queryCacheSize
private org.h2.util.SmallLRUCache queryCache
public void (org.h2.engine.Database, org.h2.engine.User, int)
public boolean setCommitOrRollbackDisabled (boolean)
private void initVariables ()
public void setVariable (java.lang.String, org.h2.value.Value)
public org.h2.value.Value getVariable (java.lang.String)
public java.lang.String[] getVariableNames ()
public org.h2.table.Table findLocalTempTable (java.lang.String)
public java.util.ArrayList getLocalTempTables ()
public void addLocalTempTable (org.h2.table.Table)
public void removeLocalTempTable (org.h2.table.Table)
public org.h2.index.Index findLocalTempTableIndex (java.lang.String)
public java.util.HashMap getLocalTempTableIndexes ()
public void addLocalTempTableIndex (org.h2.index.Index)
public void removeLocalTempTableIndex (org.h2.index.Index)
public org.h2.constraint.Constraint findLocalTempTableConstraint (java.lang.String)
public java.util.HashMap getLocalTempTableConstraints ()
public void addLocalTempTableConstraint (org.h2.constraint.Constraint)
public void removeLocalTempTableConstraint (org.h2.constraint.Constraint)
protected void finalize ()
public boolean getAutoCommit ()
public org.h2.engine.User getUser ()
public void setAutoCommit (boolean)
public int getLockTimeout ()
public void setLockTimeout (int)
public org.h2.command.CommandInterface prepareCommand (java.lang.String, int)
public org.h2.command.Prepared prepare (java.lang.String)
public org.h2.command.Prepared prepare (java.lang.String, boolean)
public org.h2.command.Command prepareLocal (java.lang.String)
public org.h2.engine.Database getDatabase ()
public int getPowerOffCount ()
public void setPowerOffCount (int)
public void commit (boolean)
private void checkCommitRollback ()
public void rollback ()
public void rollbackTo (int, boolean)
public int getLogId ()
public int getId ()
public void cancel ()
public void close ()
public void addLock (org.h2.table.Table)
public void log (org.h2.table.Table, short, org.h2.result.Row)
public void unlockReadLocks ()
public void unlock (org.h2.table.Table)
private void unlockAll ()
private void cleanTempTables (boolean)
public java.util.Random getRandom ()
public org.h2.message.Trace getTrace ()
public void setLastIdentity (org.h2.value.Value)
public org.h2.value.Value getLastIdentity ()
public void addLogPos (int, int)
public int getFirstUncommittedLog ()
public void setAllCommitted ()
private boolean containsUncommitted ()
public void addSavepoint (java.lang.String)
public void rollbackToSavepoint (java.lang.String)
public void prepareCommit (java.lang.String)
public void setPreparedTransaction (java.lang.String, boolean)
public boolean isClosed ()
public void setThrottle (int)
public void throttle ()
public void setCurrentCommand (org.h2.command.Command)
public void checkCanceled ()
public long getCancel ()
public org.h2.command.Command getCurrentCommand ()
public long getCurrentCommandStart ()
public boolean getAllowLiterals ()
public void setAllowLiterals (boolean)
public void setCurrentSchema (org.h2.schema.Schema)
public java.lang.String getCurrentSchemaName ()
public org.h2.jdbc.JdbcConnection createConnection (boolean)
public org.h2.store.DataHandler getDataHandler ()
public void unlinkAtCommit (org.h2.value.Value)
public void unlinkAtCommitStop (org.h2.value.Value)
public java.lang.String getNextSystemIdentifier (java.lang.String)
public void addProcedure (org.h2.engine.Procedure)
public void removeProcedure (java.lang.String)
public org.h2.engine.Procedure getProcedure (java.lang.String)
public void setSchemaSearchPath (java.lang.String[])
public java.lang.String[] getSchemaSearchPath ()
public int hashCode ()
public java.lang.String toString ()
public void setUndoLogEnabled (boolean)
public void setRedoLogBinary (boolean)
public boolean isUndoLogEnabled ()
public void begin ()
public long getSessionStart ()
public org.h2.table.Table[] getLocks ()
public void waitIfExclusiveModeEnabled ()
public void addTemporaryResult (org.h2.result.ResultInterface)
public void closeTemporaryResults ()
public void setQueryTimeout (int)
public int getQueryTimeout ()
public void setWaitForLock (org.h2.table.Table)
public org.h2.table.Table getWaitForLock ()
public int getModificationId ()
public boolean isReconnectNeeded (boolean)
public void afterWriting ()
public org.h2.engine.SessionInterface reconnect (boolean)
public void setConnectionInfo (org.h2.engine.ConnectionInfo)
public org.h2.value.Value getTransactionId ()
public int nextObjectId ()
public void setScopeIdentity (org.h2.value.Value)
public org.h2.value.Value getScopeIdentity ()
public boolean isRedoLogBinaryEnabled ()
}
org/h2/engine/SessionFactory.classSessionFactory.java
package org.h2.engine
public abstract org.h2.engine.SessionFactory extends java.lang.Object {
public abstract org.h2.engine.SessionInterface createSession (org.h2.engine.ConnectionInfo) throws java.sql.SQLException
}
org/h2/engine/SessionInterface.classSessionInterface.java
package org.h2.engine
public abstract org.h2.engine.SessionInterface extends java.lang.Object {
public abstract org.h2.command.CommandInterface prepareCommand (java.lang.String, int)
public abstract void close ()
public abstract org.h2.message.Trace getTrace ()
public abstract boolean isClosed ()
public abstract int getPowerOffCount ()
public abstract void setPowerOffCount (int)
public abstract org.h2.store.DataHandler getDataHandler ()
public abstract void cancel ()
public abstract boolean isReconnectNeeded (boolean)
public abstract org.h2.engine.SessionInterface reconnect (boolean)
public abstract void afterWriting ()
public abstract boolean getAutoCommit ()
public abstract void setAutoCommit (boolean)
}
org/h2/engine/SessionRemote.classSessionRemote.java
package org.h2.engine
public org.h2.engine.SessionRemote extends org.h2.engine.SessionWithState implements org.h2.store.DataHandler {
public static final int SESSION_PREPARE
public static final int SESSION_CLOSE
public static final int COMMAND_EXECUTE_QUERY
public static final int COMMAND_EXECUTE_UPDATE
public static final int COMMAND_CLOSE
public static final int RESULT_FETCH_ROWS
public static final int RESULT_RESET
public static final int RESULT_CLOSE
public static final int COMMAND_COMMIT
public static final int CHANGE_ID
public static final int COMMAND_GET_META_DATA
public static final int SESSION_PREPARE_READ_PARAMS
public static final int SESSION_SET_ID
public static final int SESSION_CANCEL_STATEMENT
public static final int SESSION_CHECK_KEY
public static final int SESSION_SET_AUTOCOMMIT
public static final int STATUS_ERROR
public static final int STATUS_OK
public static final int STATUS_CLOSED
public static final int STATUS_OK_STATE_CHANGED
private static org.h2.engine.SessionFactory sessionFactory
private org.h2.message.TraceSystem traceSystem
private org.h2.message.Trace trace
private java.util.ArrayList transferList
private int nextId
private boolean autoCommit
private org.h2.command.CommandInterface autoCommitFalse
private org.h2.command.CommandInterface autoCommitTrue
private org.h2.engine.ConnectionInfo connectionInfo
private String databaseName
private String cipher
private byte[] fileEncryptionKey
private Object lobSyncObject
private String sessionId
private int clientVersion
private boolean autoReconnect
private int lastReconnect
private org.h2.engine.SessionInterface embedded
private org.h2.api.DatabaseEventListener eventListener
private org.h2.store.LobStorage lobStorage
private boolean cluster
public void (org.h2.engine.ConnectionInfo)
private org.h2.value.Transfer initTransfer (org.h2.engine.ConnectionInfo, java.lang.String, java.lang.String) throws java.io.IOException
public void cancel ()
public void cancelStatement (int)
private void checkClusterDisableAutoCommit (java.lang.String)
public boolean getAutoCommit ()
public void setAutoCommit (boolean)
public void setAutoCommitFromServer (boolean)
private void setAutoCommitSend (boolean)
public void autoCommitIfCluster ()
private java.lang.String getFilePrefix (java.lang.String)
public int getPowerOffCount ()
public void setPowerOffCount (int)
public org.h2.engine.SessionInterface createSession (org.h2.engine.ConnectionInfo)
private org.h2.engine.SessionInterface connectEmbeddedOrServer (boolean)
private void connectServer (org.h2.engine.ConnectionInfo)
private void switchOffCluster ()
public void removeServer (java.io.IOException, int, int)
public org.h2.command.CommandInterface prepareCommand (java.lang.String, int)
public boolean autoReconnect (int)
public void checkClosed ()
public void close ()
public org.h2.message.Trace getTrace ()
public int getNextId ()
public int getCurrentId ()
public void done (org.h2.value.Transfer) throws java.io.IOException
public boolean isClustered ()
public boolean isClosed ()
public void traceOperation (java.lang.String, int)
public void checkPowerOff ()
public void checkWritingAllowed ()
public void freeUpDiskSpace ()
public java.lang.String getDatabasePath ()
public java.lang.String getLobCompressionAlgorithm (int)
public int getMaxLengthInplaceLob ()
public org.h2.store.FileStore openFile (java.lang.String, java.lang.String, boolean)
public org.h2.store.DataHandler getDataHandler ()
public java.lang.Object getLobSyncObject ()
public org.h2.util.SmallLRUCache getLobFileListCache ()
public int getClientVersion ()
public int getLastReconnect ()
public org.h2.util.TempFileDeleter getTempFileDeleter ()
public boolean isReconnectNeeded (boolean)
public org.h2.engine.SessionInterface reconnect (boolean)
public void afterWriting ()
public org.h2.store.LobStorage getLobStorage ()
public java.sql.Connection getLobConnection ()
}
org/h2/engine/SessionWithState.classSessionWithState.java
package org.h2.engine
public abstract org.h2.engine.SessionWithState extends java.lang.Object implements org.h2.engine.SessionInterface {
protected java.util.ArrayList sessionState
protected boolean sessionStateChanged
private boolean sessionStateUpdating
public void ()
protected void recreateSessionState ()
public void readSessionState ()
}
org/h2/engine/Setting.classSetting.java
package org.h2.engine
public org.h2.engine.Setting extends org.h2.engine.DbObjectBase {
private int intValue
private String stringValue
public void (org.h2.engine.Database, int, java.lang.String)
public void setIntValue (int)
public int getIntValue ()
public void setStringValue (java.lang.String)
public java.lang.String getStringValue ()
public java.lang.String getCreateSQLForCopy (org.h2.table.Table, java.lang.String)
public java.lang.String getDropSQL ()
public java.lang.String getCreateSQL ()
public int getType ()
public void removeChildrenAndResources (org.h2.engine.Session)
public void checkRename ()
}
org/h2/engine/SettingsBase.classSettingsBase.java
package org.h2.engine
public org.h2.engine.SettingsBase extends java.lang.Object {
private java.util.HashMap settings
protected void (java.util.HashMap)
protected boolean get (java.lang.String, boolean)
protected int get (java.lang.String, int)
protected java.lang.String get (java.lang.String, java.lang.String)
public boolean containsKey (java.lang.String)
public java.util.HashMap getSettings ()
}
org/h2/engine/UndoLog.classUndoLog.java
package org.h2.engine
public org.h2.engine.UndoLog extends java.lang.Object {
private org.h2.engine.Database database
private java.util.ArrayList storedEntriesPos
private java.util.ArrayList records
private org.h2.store.FileStore file
private org.h2.store.Data rowBuff
private int memoryUndo
private int storedEntries
private java.util.HashMap tables
private boolean largeTransactions
public void (org.h2.engine.Session)
public int size ()
public void clear ()
public org.h2.engine.UndoLogRecord getLast ()
void seek (long)
public void removeLast (boolean)
public void add (org.h2.engine.UndoLogRecord)
private void saveIfPossible (org.h2.engine.UndoLogRecord, org.h2.store.Data)
int getTableId (org.h2.table.Table)
org.h2.table.Table getTable (int)
}
org/h2/engine/UndoLogRecord.classUndoLogRecord.java
package org.h2.engine
public org.h2.engine.UndoLogRecord extends java.lang.Object {
public static final short INSERT
public static final short DELETE
private static final int IN_MEMORY
private static final int STORED
private static final int IN_MEMORY_INVALID
private org.h2.table.Table table
private org.h2.result.Row row
private short operation
private short state
private int filePos
public void (org.h2.table.Table, short, org.h2.result.Row)
boolean isStored ()
boolean canStore ()
public void undo (org.h2.engine.Session)
void append (org.h2.store.Data, org.h2.engine.UndoLog)
void save (org.h2.store.Data, org.h2.store.FileStore, org.h2.engine.UndoLog)
static org.h2.engine.UndoLogRecord loadFromBuffer (org.h2.store.Data, org.h2.engine.UndoLog)
void load (org.h2.store.Data, org.h2.store.FileStore, org.h2.engine.UndoLog)
private void load (org.h2.store.Data, org.h2.engine.UndoLog)
public org.h2.table.Table getTable ()
public long getFilePos ()
public void commit ()
public org.h2.result.Row getRow ()
void invalidatePos ()
}
org/h2/engine/User.classUser.java
package org.h2.engine
public org.h2.engine.User extends org.h2.engine.RightOwner {
private final boolean systemUser
private byte[] salt
private byte[] passwordHash
private boolean admin
public void (org.h2.engine.Database, int, java.lang.String, boolean)
public void setAdmin (boolean)
public boolean isAdmin ()
public void setSaltAndHash (byte[], byte[])
public void setUserPasswordHash (byte[])
public java.lang.String getCreateSQLForCopy (org.h2.table.Table, java.lang.String)
public java.lang.String getCreateSQL ()
public java.lang.String getDropSQL ()
public void checkRight (org.h2.table.Table, int)
public boolean hasRight (org.h2.table.Table, int)
public java.lang.String getCreateSQL (boolean)
public boolean validateUserPasswordHash (byte[])
public void checkAdmin ()
public int getType ()
public java.util.ArrayList getChildren ()
public void removeChildrenAndResources (org.h2.engine.Session)
public void checkRename ()
public void checkOwnsNoSchemas ()
}
org/h2/engine/UserAggregate.classUserAggregate.java
package org.h2.engine
public org.h2.engine.UserAggregate extends org.h2.engine.DbObjectBase {
private String className
private Class javaClass
public void (org.h2.engine.Database, int, java.lang.String, java.lang.String, boolean)
public org.h2.api.AggregateFunction getInstance ()
public java.lang.String getCreateSQLForCopy (org.h2.table.Table, java.lang.String)
public java.lang.String getDropSQL ()
public java.lang.String getCreateSQL ()
public int getType ()
public synchronized void removeChildrenAndResources (org.h2.engine.Session)
public void checkRename ()
public java.lang.String getJavaClassName ()
}
org/h2/engine/UserDataType.classUserDataType.java
package org.h2.engine
public org.h2.engine.UserDataType extends org.h2.engine.DbObjectBase {
private org.h2.table.Column column
public void (org.h2.engine.Database, int, java.lang.String)
public java.lang.String getCreateSQLForCopy (org.h2.table.Table, java.lang.String)
public java.lang.String getDropSQL ()
public java.lang.String getCreateSQL ()
public org.h2.table.Column getColumn ()
public int getType ()
public void removeChildrenAndResources (org.h2.engine.Session)
public void checkRename ()
public void setColumn (org.h2.table.Column)
}
org/h2/expression/Aggregate$1.classAggregate.java
package org.h2.expression
org.h2.expression.Aggregate$1 extends java.lang.Object implements java.util.Comparator {
final synthetic org.h2.result.SortOrder val$sortOrder
final synthetic org.h2.expression.Aggregate this$0
void (org.h2.expression.Aggregate, org.h2.result.SortOrder)
public int compare (org.h2.value.Value, org.h2.value.Value)
public volatile synthetic int compare (java.lang.Object, java.lang.Object)
}
org/h2/expression/Aggregate.classAggregate.java
package org.h2.expression
public org.h2.expression.Aggregate extends org.h2.expression.Expression {
public static final int COUNT_ALL
public static final int COUNT
public static final int GROUP_CONCAT
static final int SUM
static final int MIN
static final int MAX
static final int AVG
static final int STDDEV_POP
static final int STDDEV_SAMP
static final int VAR_POP
static final int VAR_SAMP
static final int BOOL_OR
static final int BOOL_AND
static final int SELECTIVITY
private static final java.util.HashMap AGGREGATES
private final int type
private final org.h2.command.dml.Select select
private final boolean distinct
private org.h2.expression.Expression on
private org.h2.expression.Expression separator
private java.util.ArrayList orderList
private org.h2.result.SortOrder sort
private int dataType
private int scale
private long precision
private int displaySize
private int lastGroupRowId
public void (int, org.h2.expression.Expression, org.h2.command.dml.Select, boolean)
private static void addAggregate (java.lang.String, int)
public static int getAggregateType (java.lang.String)
public void setOrder (java.util.ArrayList)
public void setSeparator (org.h2.expression.Expression)
private org.h2.result.SortOrder initOrder (org.h2.engine.Session)
public void updateAggregate (org.h2.engine.Session)
public org.h2.value.Value getValue (org.h2.engine.Session)
public int getType ()
public void mapColumns (org.h2.table.ColumnResolver, int)
public org.h2.expression.Expression optimize (org.h2.engine.Session)
public void setEvaluatable (org.h2.table.TableFilter, boolean)
public int getScale ()
public long getPrecision ()
public int getDisplaySize ()
private java.lang.String getSQLGroupConcat ()
public java.lang.String getSQL ()
private org.h2.index.Index getColumnIndex (boolean)
public boolean isEverything (org.h2.expression.ExpressionVisitor)
public int getCost ()
static void ()
}
org/h2/expression/AggregateData.classAggregateData.java
package org.h2.expression
org.h2.expression.AggregateData extends java.lang.Object {
private final int aggregateType
private final int dataType
private long count
private org.h2.util.IntIntHashMap distinctHashes
private org.h2.util.ValueHashMap distinctValues
private org.h2.value.Value value
private double sum
private double vpn
private java.util.ArrayList list
void (int, int)
void add (org.h2.engine.Database, boolean, org.h2.value.Value)
java.util.ArrayList getList ()
org.h2.value.Value getValue (org.h2.engine.Database, boolean)
private org.h2.value.Value divide (org.h2.value.Value, long)
private void groupDistinct (org.h2.engine.Database)
}
org/h2/expression/Alias.classAlias.java
package org.h2.expression
public org.h2.expression.Alias extends org.h2.expression.Expression {
private final String alias
private org.h2.expression.Expression expr
private boolean aliasColumnName
public void (org.h2.expression.Expression, java.lang.String, boolean)
public org.h2.expression.Expression getNonAliasExpression ()
public org.h2.value.Value getValue (org.h2.engine.Session)
public int getType ()
public void mapColumns (org.h2.table.ColumnResolver, int)
public org.h2.expression.Expression optimize (org.h2.engine.Session)
public void setEvaluatable (org.h2.table.TableFilter, boolean)
public int getScale ()
public long getPrecision ()
public int getDisplaySize ()
public boolean isAutoIncrement ()
public java.lang.String getSQL ()
public void updateAggregate (org.h2.engine.Session)
public java.lang.String getAlias ()
public int getNullable ()
public boolean isEverything (org.h2.expression.ExpressionVisitor)
public int getCost ()
public java.lang.String getTableName ()
public java.lang.String getColumnName ()
}
org/h2/expression/CompareLike.classCompareLike.java
package org.h2.expression
public org.h2.expression.CompareLike extends org.h2.expression.Condition {
private static final int MATCH
private static final int ONE
private static final int ANY
private final org.h2.value.CompareMode compareMode
private final String defaultEscape
private org.h2.expression.Expression left
private org.h2.expression.Expression right
private org.h2.expression.Expression escape
private boolean isInit
private char[] patternChars
private String patternString
private int[] patternTypes
private int patternLength
private final boolean regexp
private java.util.regex.Pattern patternRegexp
private boolean ignoreCase
private boolean fastCompare
private boolean invalidPattern
public void (org.h2.engine.Database, org.h2.expression.Expression, org.h2.expression.Expression, org.h2.expression.Expression, boolean)
public void (org.h2.value.CompareMode, java.lang.String, org.h2.expression.Expression, org.h2.expression.Expression, org.h2.expression.Expression, boolean)
private static java.lang.Character getEscapeChar (java.lang.String)
public java.lang.String getSQL ()
public org.h2.expression.Expression optimize (org.h2.engine.Session)
private java.lang.Character getEscapeChar (org.h2.value.Value)
public void createIndexConditions (org.h2.engine.Session, org.h2.table.TableFilter)
public org.h2.value.Value getValue (org.h2.engine.Session)
private boolean compare (char[], java.lang.String, int, int)
private boolean compareAt (java.lang.String, int, int, int, char[], int[])
public boolean test (java.lang.String, java.lang.String, char)
private void initPattern (java.lang.String, java.lang.Character)
private boolean isFullMatch ()
public void mapColumns (org.h2.table.ColumnResolver, int)
public void setEvaluatable (org.h2.table.TableFilter, boolean)
public void updateAggregate (org.h2.engine.Session)
public boolean isEverything (org.h2.expression.ExpressionVisitor)
public int getCost ()
}
org/h2/expression/Comparison.classComparison.java
package org.h2.expression
public org.h2.expression.Comparison extends org.h2.expression.Condition {
public static final int NULL_SAFE
public static final int EQUAL
public static final int EQUAL_NULL_SAFE
public static final int BIGGER_EQUAL
public static final int BIGGER
public static final int SMALLER_EQUAL
public static final int SMALLER
public static final int NOT_EQUAL
public static final int NOT_EQUAL_NULL_SAFE
public static final int IS_NULL
public static final int IS_NOT_NULL
public static final int FALSE
public static final int IN_LIST
public static final int IN_QUERY
private final org.h2.engine.Database database
private int compareType
private org.h2.expression.Expression left
private org.h2.expression.Expression right
public void (org.h2.engine.Session, int, org.h2.expression.Expression, org.h2.expression.Expression)
public java.lang.String getSQL ()
public org.h2.expression.Expression optimize (org.h2.engine.Session)
public org.h2.value.Value getValue (org.h2.engine.Session)
static boolean compareNotNull (org.h2.engine.Database, org.h2.value.Value, org.h2.value.Value, int)
private int getReversedCompareType (int)
private int getNotCompareType ()
public org.h2.expression.Expression getNotIfPossible (org.h2.engine.Session)
public void createIndexConditions (org.h2.engine.Session, org.h2.table.TableFilter)
public void setEvaluatable (org.h2.table.TableFilter, boolean)
public void updateAggregate (org.h2.engine.Session)
public void addFilterConditions (org.h2.table.TableFilter, boolean)
public void mapColumns (org.h2.table.ColumnResolver, int)
public boolean isEverything (org.h2.expression.ExpressionVisitor)
public int getCost ()
org.h2.expression.Expression getIfEquals (org.h2.expression.Expression)
org.h2.expression.Expression getAdditional (org.h2.engine.Session, org.h2.expression.Comparison, boolean)
public org.h2.expression.Expression getExpression (boolean)
}
org/h2/expression/Condition.classCondition.java
package org.h2.expression
public abstract org.h2.expression.Condition extends org.h2.expression.Expression {
public void ()
public int getType ()
public int getScale ()
public long getPrecision ()
public int getDisplaySize ()
}
org/h2/expression/ConditionAndOr.classConditionAndOr.java
package org.h2.expression
public org.h2.expression.ConditionAndOr extends org.h2.expression.Condition {
public static final int AND
public static final int OR
private final int andOrType
private org.h2.expression.Expression left
private org.h2.expression.Expression right
public void (int, org.h2.expression.Expression, org.h2.expression.Expression)
public java.lang.String getSQL ()
public void createIndexConditions (org.h2.engine.Session, org.h2.table.TableFilter)
public org.h2.expression.Expression getNotIfPossible (org.h2.engine.Session)
public org.h2.value.Value getValue (org.h2.engine.Session)
public org.h2.expression.Expression optimize (org.h2.engine.Session)
public void addFilterConditions (org.h2.table.TableFilter, boolean)
public void mapColumns (org.h2.table.ColumnResolver, int)
public void setEvaluatable (org.h2.table.TableFilter, boolean)
public void updateAggregate (org.h2.engine.Session)
public boolean isEverything (org.h2.expression.ExpressionVisitor)
public int getCost ()
public org.h2.expression.Expression getExpression (boolean)
}
org/h2/expression/ConditionExists.classConditionExists.java
package org.h2.expression
public org.h2.expression.ConditionExists extends org.h2.expression.Condition {
private final org.h2.command.dml.Query query
public void (org.h2.command.dml.Query)
public org.h2.value.Value getValue (org.h2.engine.Session)
public org.h2.expression.Expression optimize (org.h2.engine.Session)
public java.lang.String getSQL ()
public void updateAggregate (org.h2.engine.Session)
public void mapColumns (org.h2.table.ColumnResolver, int)
public void setEvaluatable (org.h2.table.TableFilter, boolean)
public boolean isEverything (org.h2.expression.ExpressionVisitor)
public int getCost ()
}
org/h2/expression/ConditionIn.classConditionIn.java
package org.h2.expression
public org.h2.expression.ConditionIn extends org.h2.expression.Condition {
private final org.h2.engine.Database database
private org.h2.expression.Expression left
private final java.util.ArrayList valueList
private int queryLevel
public void (org.h2.engine.Database, org.h2.expression.Expression, java.util.ArrayList)
public org.h2.value.Value getValue (org.h2.engine.Session)
public void mapColumns (org.h2.table.ColumnResolver, int)
public org.h2.expression.Expression optimize (org.h2.engine.Session)
public void createIndexConditions (org.h2.engine.Session, org.h2.table.TableFilter)
public void setEvaluatable (org.h2.table.TableFilter, boolean)
public java.lang.String getSQL ()
public void updateAggregate (org.h2.engine.Session)
public boolean isEverything (org.h2.expression.ExpressionVisitor)
private boolean areAllValues (org.h2.expression.ExpressionVisitor)
public int getCost ()
public org.h2.expression.Expression getAdditional (org.h2.engine.Session, org.h2.expression.Comparison)
}
org/h2/expression/ConditionInSelect.classConditionInSelect.java
package org.h2.expression
public org.h2.expression.ConditionInSelect extends org.h2.expression.Condition {
private org.h2.engine.Database database
private org.h2.expression.Expression left
private org.h2.command.dml.Query query
private boolean all
private int compareType
private int queryLevel
public void (org.h2.engine.Database, org.h2.expression.Expression, org.h2.command.dml.Query, boolean, int)
public org.h2.value.Value getValue (org.h2.engine.Session)
public void mapColumns (org.h2.table.ColumnResolver, int)
public org.h2.expression.Expression optimize (org.h2.engine.Session)
public void setEvaluatable (org.h2.table.TableFilter, boolean)
public java.lang.String getSQL ()
public void updateAggregate (org.h2.engine.Session)
public boolean isEverything (org.h2.expression.ExpressionVisitor)
public int getCost ()
public void createIndexConditions (org.h2.engine.Session, org.h2.table.TableFilter)
}
org/h2/expression/ConditionNot.classConditionNot.java
package org.h2.expression
public org.h2.expression.ConditionNot extends org.h2.expression.Condition {
private org.h2.expression.Expression condition
public void (org.h2.expression.Expression)
public org.h2.expression.Expression getNotIfPossible (org.h2.engine.Session)
public org.h2.value.Value getValue (org.h2.engine.Session)
public void mapColumns (org.h2.table.ColumnResolver, int)
public org.h2.expression.Expression optimize (org.h2.engine.Session)
public void setEvaluatable (org.h2.table.TableFilter, boolean)
public java.lang.String getSQL ()
public void updateAggregate (org.h2.engine.Session)
public void addFilterConditions (org.h2.table.TableFilter, boolean)
public boolean isEverything (org.h2.expression.ExpressionVisitor)
public int getCost ()
}
org/h2/expression/Expression.classExpression.java
package org.h2.expression
public abstract org.h2.expression.Expression extends java.lang.Object {
private boolean addedToFilter
public void ()
public abstract org.h2.value.Value getValue (org.h2.engine.Session)
public abstract int getType ()
public abstract void mapColumns (org.h2.table.ColumnResolver, int)
public abstract org.h2.expression.Expression optimize (org.h2.engine.Session)
public abstract void setEvaluatable (org.h2.table.TableFilter, boolean)
public abstract int getScale ()
public abstract long getPrecision ()
public abstract int getDisplaySize ()
public abstract java.lang.String getSQL ()
public abstract void updateAggregate (org.h2.engine.Session)
public abstract boolean isEverything (org.h2.expression.ExpressionVisitor)
public abstract int getCost ()
public org.h2.expression.Expression getNotIfPossible (org.h2.engine.Session)
public boolean isConstant ()
public boolean isValueSet ()
public boolean isAutoIncrement ()
public java.lang.Boolean getBooleanValue (org.h2.engine.Session)
public void createIndexConditions (org.h2.engine.Session, org.h2.table.TableFilter)
public java.lang.String getColumnName ()
public java.lang.String getSchemaName ()
public java.lang.String getTableName ()
public int getNullable ()
public java.lang.String getTableAlias ()
public java.lang.String getAlias ()
public boolean isWildcard ()
public org.h2.expression.Expression getNonAliasExpression ()
public void addFilterConditions (org.h2.table.TableFilter, boolean)
public java.lang.String toString ()
public org.h2.expression.Expression[] getExpressionColumns (org.h2.engine.Session)
public static org.h2.expression.Expression[] getExpressionColumns (org.h2.engine.Session, org.h2.value.ValueArray)
public static org.h2.expression.Expression[] getExpressionColumns (org.h2.engine.Session, java.sql.ResultSet)
}
org/h2/expression/ExpressionColumn.classExpressionColumn.java
package org.h2.expression
public org.h2.expression.ExpressionColumn extends org.h2.expression.Expression {
private org.h2.engine.Database database
private String schemaName
private String tableAlias
private String columnName
private org.h2.table.ColumnResolver columnResolver
private int queryLevel
private org.h2.table.Column column
private boolean evaluatable
public void (org.h2.engine.Database, org.h2.table.Column)
public void (org.h2.engine.Database, java.lang.String, java.lang.String, java.lang.String)
public java.lang.String getSQL ()
public org.h2.table.TableFilter getTableFilter ()
public void mapColumns (org.h2.table.ColumnResolver, int)
private void mapColumn (org.h2.table.ColumnResolver, org.h2.table.Column, int)
public org.h2.expression.Expression optimize (org.h2.engine.Session)
public void updateAggregate (org.h2.engine.Session)
public org.h2.value.Value getValue (org.h2.engine.Session)
public int getType ()
public void setEvaluatable (org.h2.table.TableFilter, boolean)
public org.h2.table.Column getColumn ()
public int getScale ()
public long getPrecision ()
public int getDisplaySize ()
public java.lang.String getOriginalColumnName ()
public java.lang.String getOriginalTableAliasName ()
public java.lang.String getColumnName ()
public java.lang.String getSchemaName ()
public java.lang.String getTableName ()
public java.lang.String getAlias ()
public boolean isAutoIncrement ()
public int getNullable ()
public boolean isEverything (org.h2.expression.ExpressionVisitor)
public int getCost ()
public void createIndexConditions (org.h2.engine.Session, org.h2.table.TableFilter)
public org.h2.expression.Expression getNotIfPossible (org.h2.engine.Session)
}
org/h2/expression/ExpressionList.classExpressionList.java
package org.h2.expression
public org.h2.expression.ExpressionList extends org.h2.expression.Expression {
private org.h2.expression.Expression[] list
public void (org.h2.expression.Expression[])
public org.h2.value.Value getValue (org.h2.engine.Session)
public int getType ()
public void mapColumns (org.h2.table.ColumnResolver, int)
public org.h2.expression.Expression optimize (org.h2.engine.Session)
public void setEvaluatable (org.h2.table.TableFilter, boolean)
public int getScale ()
public long getPrecision ()
public int getDisplaySize ()
public java.lang.String getSQL ()
public void updateAggregate (org.h2.engine.Session)
public boolean isEverything (org.h2.expression.ExpressionVisitor)
public int getCost ()
public org.h2.expression.Expression[] getExpressionColumns (org.h2.engine.Session)
}
org/h2/expression/ExpressionVisitor.classExpressionVisitor.java
package org.h2.expression
public org.h2.expression.ExpressionVisitor extends java.lang.Object {
public static final int INDEPENDENT
public static final org.h2.expression.ExpressionVisitor INDEPENDENT_VISITOR
public static final int OPTIMIZABLE_MIN_MAX_COUNT_ALL
public static final int DETERMINISTIC
public static final org.h2.expression.ExpressionVisitor DETERMINISTIC_VISITOR
public static final int EVALUATABLE
public static final org.h2.expression.ExpressionVisitor EVALUATABLE_VISITOR
public static final int SET_MAX_DATA_MODIFICATION_ID
public static final int READONLY
public static final org.h2.expression.ExpressionVisitor READONLY_VISITOR
public static final int NOT_FROM_RESOLVER
public static final int GET_DEPENDENCIES
public static final int QUERY_COMPARABLE
public static final org.h2.expression.ExpressionVisitor QUERY_COMPARABLE_VISITOR
private final int type
private final int queryLevel
private final java.util.HashSet dependencies
private final org.h2.table.Table table
private final long[] maxDataModificationId
private final org.h2.table.ColumnResolver resolver
private void (int, int, java.util.HashSet, org.h2.table.Table, org.h2.table.ColumnResolver, long[])
private void (int)
public static org.h2.expression.ExpressionVisitor getDependenciesVisitor (java.util.HashSet)
public static org.h2.expression.ExpressionVisitor getOptimizableVisitor (org.h2.table.Table)
public static org.h2.expression.ExpressionVisitor getNotFromResolverVisitor (org.h2.table.ColumnResolver)
public static org.h2.expression.ExpressionVisitor getMaxModificationIdVisitor ()
public void addDependency (org.h2.engine.DbObject)
public java.util.HashSet getDependencies ()
public org.h2.expression.ExpressionVisitor incrementQueryLevel (int)
public org.h2.table.ColumnResolver getResolver ()
public void addDataModificationId (long)
public long getMaxDataModificationId ()
int getQueryLevel ()
public org.h2.table.Table getTable ()
public int getType ()
static void ()
}
org/h2/expression/Function.classFunction.java
package org.h2.expression
public org.h2.expression.Function extends org.h2.expression.Expression implements org.h2.expression.FunctionCall {
public static final int ABS
public static final int ACOS
public static final int ASIN
public static final int ATAN
public static final int ATAN2
public static final int BITAND
public static final int BITOR
public static final int BITXOR
public static final int CEILING
public static final int COS
public static final int COT
public static final int DEGREES
public static final int EXP
public static final int FLOOR
public static final int LOG
public static final int LOG10
public static final int MOD
public static final int PI
public static final int POWER
public static final int RADIANS
public static final int RAND
public static final int ROUND
public static final int ROUNDMAGIC
public static final int SIGN
public static final int SIN
public static final int SQRT
public static final int TAN
public static final int TRUNCATE
public static final int SECURE_RAND
public static final int HASH
public static final int ENCRYPT
public static final int DECRYPT
public static final int COMPRESS
public static final int EXPAND
public static final int ZERO
public static final int RANDOM_UUID
public static final int ASCII
public static final int BIT_LENGTH
public static final int CHAR
public static final int CHAR_LENGTH
public static final int CONCAT
public static final int DIFFERENCE
public static final int HEXTORAW
public static final int INSERT
public static final int INSTR
public static final int LCASE
public static final int LEFT
public static final int LENGTH
public static final int LOCATE
public static final int LTRIM
public static final int OCTET_LENGTH
public static final int RAWTOHEX
public static final int REPEAT
public static final int REPLACE
public static final int RIGHT
public static final int RTRIM
public static final int SOUNDEX
public static final int SPACE
public static final int SUBSTR
public static final int SUBSTRING
public static final int UCASE
public static final int LOWER
public static final int UPPER
public static final int POSITION
public static final int TRIM
public static final int STRINGENCODE
public static final int STRINGDECODE
public static final int STRINGTOUTF8
public static final int UTF8TOSTRING
public static final int XMLATTR
public static final int XMLNODE
public static final int XMLCOMMENT
public static final int XMLCDATA
public static final int XMLSTARTDOC
public static final int XMLTEXT
public static final int REGEXP_REPLACE
public static final int RPAD
public static final int LPAD
public static final int CURDATE
public static final int CURTIME
public static final int DATE_ADD
public static final int DATE_DIFF
public static final int DAY_NAME
public static final int DAY_OF_MONTH
public static final int DAY_OF_WEEK
public static final int DAY_OF_YEAR
public static final int HOUR
public static final int MINUTE
public static final int MONTH
public static final int MONTH_NAME
public static final int NOW
public static final int QUARTER
public static final int SECOND
public static final int WEEK
public static final int YEAR
public static final int CURRENT_DATE
public static final int CURRENT_TIME
public static final int CURRENT_TIMESTAMP
public static final int EXTRACT
public static final int FORMATDATETIME
public static final int PARSEDATETIME
public static final int ISO_YEAR
public static final int ISO_WEEK
public static final int ISO_DAY_OF_WEEK
public static final int DATABASE
public static final int USER
public static final int CURRENT_USER
public static final int IDENTITY
public static final int SCOPE_IDENTITY
public static final int AUTOCOMMIT
public static final int READONLY
public static final int DATABASE_PATH
public static final int LOCK_TIMEOUT
public static final int IFNULL
public static final int CASEWHEN
public static final int CONVERT
public static final int CAST
public static final int COALESCE
public static final int NULLIF
public static final int CASE
public static final int NEXTVAL
public static final int CURRVAL
public static final int ARRAY_GET
public static final int CSVREAD
public static final int CSVWRITE
public static final int MEMORY_FREE
public static final int MEMORY_USED
public static final int LOCK_MODE
public static final int SCHEMA
public static final int SESSION_ID
public static final int ARRAY_LENGTH
public static final int LINK_SCHEMA
public static final int GREATEST
public static final int LEAST
public static final int CANCEL_SESSION
public static final int SET
public static final int TABLE
public static final int TABLE_DISTINCT
public static final int FILE_READ
public static final int TRANSACTION_ID
private static final int VAR_ARGS
private static final long PRECISION_UNKNOWN
private static final java.util.HashMap FUNCTIONS
private static final java.util.HashMap DATE_PART
private static final char[] SOUNDEX_INDEX
protected org.h2.expression.Expression[] args
private org.h2.expression.FunctionInfo info
private java.util.ArrayList varArgs
private int dataType
private int scale
private long precision
private int displaySize
private org.h2.engine.Database database
protected void (org.h2.engine.Database, org.h2.expression.FunctionInfo)
private static void addFunction (java.lang.String, int, int, int, boolean, boolean, boolean)
private static void addFunctionNotDeterministic (java.lang.String, int, int, int)
private static void addFunction (java.lang.String, int, int, int)
private static void addFunctionWithNull (java.lang.String, int, int, int)
public static org.h2.expression.FunctionInfo getFunctionInfo (java.lang.String)
public static org.h2.expression.Function getFunction (org.h2.engine.Database, java.lang.String)
public void setParameter (int, org.h2.expression.Expression)
private strictfp double log10 (double)
public org.h2.value.Value getValue (org.h2.engine.Session)
private org.h2.value.Value getNullOrValue (org.h2.engine.Session, org.h2.expression.Expression[], int)
private org.h2.value.Value getSimpleValue (org.h2.engine.Session, org.h2.value.Value, org.h2.expression.Expression[])
private boolean cancelStatement (org.h2.engine.Session, int)
private org.h2.value.Value getValueWithArgs (org.h2.engine.Session, org.h2.expression.Expression[])
private org.h2.schema.Sequence getSequence (org.h2.engine.Session, org.h2.value.Value, org.h2.value.Value)
private long length (org.h2.value.Value)
private byte[] getPaddedArrayCopy (byte[], int)
private byte[] decrypt (java.lang.String, byte[], byte[])
private byte[] encrypt (java.lang.String, byte[], byte[])
private byte[] getHash (java.lang.String, byte[], int)
public static boolean isDatePart (java.lang.String)
private static int getDatePart (java.lang.String)
private static java.sql.Timestamp dateadd (java.lang.String, int, java.sql.Timestamp)
private static long datediff (java.lang.String, java.sql.Timestamp, java.sql.Timestamp)
private static java.lang.String substring (java.lang.String, int, int)
private static java.lang.String replace (java.lang.String, java.lang.String, java.lang.String)
private static java.lang.String repeat (java.lang.String, int)
private static java.lang.String rawToHex (java.lang.String)
private static int locate (java.lang.String, java.lang.String, int)
private static java.lang.String right (java.lang.String, int)
private static java.lang.String left (java.lang.String, int)
private static java.lang.String insert (java.lang.String, int, int, java.lang.String)
private static java.lang.String hexToRaw (java.lang.String)
private static int getDifference (java.lang.String, java.lang.String)
private double roundmagic (double)
private static java.lang.String getSoundex (java.lang.String)
public int getType ()
public void mapColumns (org.h2.table.ColumnResolver, int)
protected void checkParameterCount (int)
public void doneWithParameters ()
public void setDataType (int, long, int, int)
public void setDataType (org.h2.table.Column)
public org.h2.expression.Expression optimize (org.h2.engine.Session)
public void setEvaluatable (org.h2.table.TableFilter, boolean)
public int getScale ()
public long getPrecision ()
public int getDisplaySize ()
private void calculatePrecisionAndDisplaySize ()
public java.lang.String getSQL ()
public void updateAggregate (org.h2.engine.Session)
public int getFunctionType ()
public java.lang.String getName ()
public int getParameterCount ()
public org.h2.value.ValueResultSet getValueForColumnList (org.h2.engine.Session, org.h2.expression.Expression[])
private void setCsvDelimiterEscape (org.h2.tools.Csv, java.lang.String, java.lang.String, java.lang.String)
public org.h2.expression.Expression[] getArgs ()
public boolean isEverything (org.h2.expression.ExpressionVisitor)
public int getCost ()
public boolean isDeterministic ()
public boolean isFast ()
static void ()
}
org/h2/expression/FunctionCall.classFunctionCall.java
package org.h2.expression
public abstract org.h2.expression.FunctionCall extends java.lang.Object {
public abstract java.lang.String getName ()
public abstract int getParameterCount ()
public abstract org.h2.value.ValueResultSet getValueForColumnList (org.h2.engine.Session, org.h2.expression.Expression[])
public abstract int getType ()
public abstract org.h2.expression.Expression optimize (org.h2.engine.Session)
public abstract org.h2.value.Value getValue (org.h2.engine.Session)
public abstract org.h2.expression.Expression[] getArgs ()
public abstract java.lang.String getSQL ()
public abstract boolean isDeterministic ()
public abstract boolean isFast ()
}
org/h2/expression/FunctionInfo.classFunctionInfo.java
package org.h2.expression
org.h2.expression.FunctionInfo extends java.lang.Object {
String name
int type
int dataType
int parameterCount
boolean nullIfParameterIsNull
boolean deterministic
boolean fast
void ()
}
org/h2/expression/JavaAggregate.classJavaAggregate.java
package org.h2.expression
public org.h2.expression.JavaAggregate extends org.h2.expression.Expression {
private final org.h2.engine.UserAggregate userAggregate
private final org.h2.command.dml.Select select
private org.h2.api.AggregateFunction aggregate
private org.h2.expression.Expression[] args
private int[] argTypes
private int dataType
private java.sql.Connection userConnection
private int lastGroupRowId
public void (org.h2.engine.UserAggregate, org.h2.expression.Expression[], org.h2.command.dml.Select)
public int getCost ()
public long getPrecision ()
public int getDisplaySize ()
public int getScale ()
public java.lang.String getSQL ()
public int getType ()
public boolean isEverything (org.h2.expression.ExpressionVisitor)
public void mapColumns (org.h2.table.ColumnResolver, int)
public org.h2.expression.Expression optimize (org.h2.engine.Session)
public void setEvaluatable (org.h2.table.TableFilter, boolean)
private org.h2.api.AggregateFunction getInstance () throws java.sql.SQLException
public org.h2.value.Value getValue (org.h2.engine.Session)
public void updateAggregate (org.h2.engine.Session)
}
org/h2/expression/JavaFunction.classJavaFunction.java
package org.h2.expression
public org.h2.expression.JavaFunction extends org.h2.expression.Expression implements org.h2.expression.FunctionCall {
private org.h2.engine.FunctionAlias functionAlias
private org.h2.engine.FunctionAlias$JavaMethod javaMethod
private org.h2.expression.Expression[] args
public void (org.h2.engine.FunctionAlias, org.h2.expression.Expression[])
public org.h2.value.Value getValue (org.h2.engine.Session)
public int getType ()
public void mapColumns (org.h2.table.ColumnResolver, int)
public org.h2.expression.Expression optimize (org.h2.engine.Session)
public void setEvaluatable (org.h2.table.TableFilter, boolean)
public int getScale ()
public long getPrecision ()
public int getDisplaySize ()
public java.lang.String getSQL ()
public void updateAggregate (org.h2.engine.Session)
public java.lang.String getName ()
public int getParameterCount ()
public org.h2.value.ValueResultSet getValueForColumnList (org.h2.engine.Session, org.h2.expression.Expression[])
public org.h2.expression.Expression[] getArgs ()
public boolean isEverything (org.h2.expression.ExpressionVisitor)
public int getCost ()
public boolean isDeterministic ()
public org.h2.expression.Expression[] getExpressionColumns (org.h2.engine.Session)
public boolean isFast ()
}
org/h2/expression/Operation.classOperation.java
package org.h2.expression
public org.h2.expression.Operation extends org.h2.expression.Expression {
public static final int CONCAT
public static final int PLUS
public static final int MINUS
public static final int MULTIPLY
public static final int DIVIDE
public static final int NEGATE
private int opType
private org.h2.expression.Expression left
private org.h2.expression.Expression right
private int dataType
private boolean convertRight
public void (int, org.h2.expression.Expression, org.h2.expression.Expression)
public java.lang.String getSQL ()
private java.lang.String getOperationToken ()
public org.h2.value.Value getValue (org.h2.engine.Session)
public void mapColumns (org.h2.table.ColumnResolver, int)
public org.h2.expression.Expression optimize (org.h2.engine.Session)
private void swap ()
public void setEvaluatable (org.h2.table.TableFilter, boolean)
public int getType ()
public long getPrecision ()
public int getDisplaySize ()
public int getScale ()
public void updateAggregate (org.h2.engine.Session)
public boolean isEverything (org.h2.expression.ExpressionVisitor)
public int getCost ()
}
org/h2/expression/Parameter.classParameter.java
package org.h2.expression
public org.h2.expression.Parameter extends org.h2.expression.Expression implements org.h2.expression.ParameterInterface {
private org.h2.value.Value value
private org.h2.table.Column column
private int index
public void (int)
public java.lang.String getSQL ()
public void setValue (org.h2.value.Value, boolean)
public void setValue (org.h2.value.Value)
public org.h2.value.Value getParamValue ()
public org.h2.value.Value getValue (org.h2.engine.Session)
public int getType ()
public void mapColumns (org.h2.table.ColumnResolver, int)
public void checkSet ()
public org.h2.expression.Expression optimize (org.h2.engine.Session)
public boolean isConstant ()
public boolean isValueSet ()
public void setEvaluatable (org.h2.table.TableFilter, boolean)
public int getScale ()
public long getPrecision ()
public int getDisplaySize ()
public void updateAggregate (org.h2.engine.Session)
public boolean isEverything (org.h2.expression.ExpressionVisitor)
public int getCost ()
public org.h2.expression.Expression getNotIfPossible (org.h2.engine.Session)
public void setColumn (org.h2.table.Column)
public int getIndex ()
}
org/h2/expression/ParameterInterface.classParameterInterface.java
package org.h2.expression
public abstract org.h2.expression.ParameterInterface extends java.lang.Object {
public abstract void setValue (org.h2.value.Value, boolean)
public abstract org.h2.value.Value getParamValue ()
public abstract void checkSet ()
public abstract int getType ()
public abstract long getPrecision ()
public abstract int getScale ()
public abstract int getNullable ()
}
org/h2/expression/ParameterRemote.classParameterRemote.java
package org.h2.expression
public org.h2.expression.ParameterRemote extends java.lang.Object implements org.h2.expression.ParameterInterface {
private org.h2.value.Value value
private int index
private int dataType
private long precision
private int scale
private int nullable
public void (int)
public void setValue (org.h2.value.Value, boolean)
public org.h2.value.Value getParamValue ()
public void checkSet ()
public int getType ()
public long getPrecision ()
public int getScale ()
public int getNullable ()
public void readMetaData (org.h2.value.Transfer) throws java.io.IOException
public static void writeMetaData (org.h2.value.Transfer, org.h2.expression.ParameterInterface) throws java.io.IOException
}
org/h2/expression/Rownum.classRownum.java
package org.h2.expression
public org.h2.expression.Rownum extends org.h2.expression.Expression {
private org.h2.command.Prepared prepared
public void (org.h2.command.Prepared)
public org.h2.value.Value getValue (org.h2.engine.Session)
public int getType ()
public void mapColumns (org.h2.table.ColumnResolver, int)
public org.h2.expression.Expression optimize (org.h2.engine.Session)
public void setEvaluatable (org.h2.table.TableFilter, boolean)
public int getScale ()
public long getPrecision ()
public int getDisplaySize ()
public java.lang.String getSQL ()
public void updateAggregate (org.h2.engine.Session)
public boolean isEverything (org.h2.expression.ExpressionVisitor)
public int getCost ()
}
org/h2/expression/SequenceValue.classSequenceValue.java
package org.h2.expression
public org.h2.expression.SequenceValue extends org.h2.expression.Expression {
private org.h2.schema.Sequence sequence
public void (org.h2.schema.Sequence)
public org.h2.value.Value getValue (org.h2.engine.Session)
public int getType ()
public void mapColumns (org.h2.table.ColumnResolver, int)
public org.h2.expression.Expression optimize (org.h2.engine.Session)
public void setEvaluatable (org.h2.table.TableFilter, boolean)
public int getScale ()
public long getPrecision ()
public int getDisplaySize ()
public java.lang.String getSQL ()
public void updateAggregate (org.h2.engine.Session)
public boolean isEverything (org.h2.expression.ExpressionVisitor)
public int getCost ()
}
org/h2/expression/Subquery.classSubquery.java
package org.h2.expression
public org.h2.expression.Subquery extends org.h2.expression.Expression {
private org.h2.command.dml.Query query
private org.h2.expression.Expression expression
public void (org.h2.command.dml.Query)
public org.h2.value.Value getValue (org.h2.engine.Session)
public int getType ()
public void mapColumns (org.h2.table.ColumnResolver, int)
public org.h2.expression.Expression optimize (org.h2.engine.Session)
public void setEvaluatable (org.h2.table.TableFilter, boolean)
public int getScale ()
public long getPrecision ()
public int getDisplaySize ()
public java.lang.String getSQL ()
public void updateAggregate (org.h2.engine.Session)
private org.h2.expression.Expression getExpression ()
public boolean isEverything (org.h2.expression.ExpressionVisitor)
public org.h2.command.dml.Query getQuery ()
public int getCost ()
public org.h2.expression.Expression[] getExpressionColumns (org.h2.engine.Session)
}
org/h2/expression/TableFunction.classTableFunction.java
package org.h2.expression
public org.h2.expression.TableFunction extends org.h2.expression.Function {
private final boolean distinct
private final long rowCount
private org.h2.table.Column[] columnList
void (org.h2.engine.Database, org.h2.expression.FunctionInfo, long)
public org.h2.value.Value getValue (org.h2.engine.Session)
protected void checkParameterCount (int)
public java.lang.String getSQL ()
public java.lang.String getName ()
public org.h2.value.ValueResultSet getValueForColumnList (org.h2.engine.Session, org.h2.expression.Expression[])
public void setColumns (java.util.ArrayList)
private org.h2.value.ValueResultSet getTable (org.h2.engine.Session, org.h2.expression.Expression[], boolean, boolean)
private org.h2.tools.SimpleResultSet getSimpleResultSet (org.h2.result.ResultInterface, int)
public long getRowCount ()
public org.h2.expression.Expression[] getExpressionColumns (org.h2.engine.Session)
}
org/h2/expression/ValueExpression.classValueExpression.java
package org.h2.expression
public org.h2.expression.ValueExpression extends org.h2.expression.Expression {
private static final Object NULL
private static final Object DEFAULT
private final org.h2.value.Value value
private void (org.h2.value.Value)
public static org.h2.expression.ValueExpression getNull ()
public static org.h2.expression.ValueExpression getDefault ()
public static org.h2.expression.ValueExpression get (org.h2.value.Value)
public org.h2.value.Value getValue (org.h2.engine.Session)
public int getType ()
public void createIndexConditions (org.h2.engine.Session, org.h2.table.TableFilter)
public org.h2.expression.Expression getNotIfPossible (org.h2.engine.Session)
public void mapColumns (org.h2.table.ColumnResolver, int)
public org.h2.expression.Expression optimize (org.h2.engine.Session)
public boolean isConstant ()
public boolean isValueSet ()
public void setEvaluatable (org.h2.table.TableFilter, boolean)
public int getScale ()
public long getPrecision ()
public int getDisplaySize ()
public java.lang.String getSQL ()
public void updateAggregate (org.h2.engine.Session)
public boolean isEverything (org.h2.expression.ExpressionVisitor)
public int getCost ()
public org.h2.expression.Expression[] getExpressionColumns (org.h2.engine.Session)
static void ()
}
org/h2/expression/Variable.classVariable.java
package org.h2.expression
public org.h2.expression.Variable extends org.h2.expression.Expression {
private final String name
private org.h2.value.Value lastValue
public void (org.h2.engine.Session, java.lang.String)
public int getCost ()
public int getDisplaySize ()
public long getPrecision ()
public java.lang.String getSQL ()
public int getScale ()
public int getType ()
public org.h2.value.Value getValue (org.h2.engine.Session)
public boolean isEverything (org.h2.expression.ExpressionVisitor)
public void mapColumns (org.h2.table.ColumnResolver, int)
public org.h2.expression.Expression optimize (org.h2.engine.Session)
public void setEvaluatable (org.h2.table.TableFilter, boolean)
public void updateAggregate (org.h2.engine.Session)
public java.lang.String getName ()
}
org/h2/expression/Wildcard.classWildcard.java
package org.h2.expression
public org.h2.expression.Wildcard extends org.h2.expression.Expression {
private String schema
private String table
public void (java.lang.String, java.lang.String)
public boolean isWildcard ()
public org.h2.value.Value getValue (org.h2.engine.Session)
public int getType ()
public void mapColumns (org.h2.table.ColumnResolver, int)
public org.h2.expression.Expression optimize (org.h2.engine.Session)
public void setEvaluatable (org.h2.table.TableFilter, boolean)
public int getScale ()
public long getPrecision ()
public int getDisplaySize ()
public java.lang.String getTableAlias ()
public java.lang.String getSchemaName ()
public java.lang.String getSQL ()
public void updateAggregate (org.h2.engine.Session)
public boolean isEverything (org.h2.expression.ExpressionVisitor)
public int getCost ()
}
org/h2/fulltext/FullText$FullTextTrigger.classFullText.java
package org.h2.fulltext
public org.h2.fulltext.FullText$FullTextTrigger extends java.lang.Object implements org.h2.api.Trigger {
protected org.h2.fulltext.FullTextSettings setting
protected org.h2.fulltext.IndexInfo index
protected int[] columnTypes
protected java.sql.PreparedStatement prepInsertWord
protected java.sql.PreparedStatement prepInsertRow
protected java.sql.PreparedStatement prepInsertMap
protected java.sql.PreparedStatement prepDeleteRow
protected java.sql.PreparedStatement prepDeleteMap
protected java.sql.PreparedStatement prepSelectRow
public void ()
public void init (java.sql.Connection, java.lang.String, java.lang.String, java.lang.String, boolean, int) throws java.sql.SQLException
public void fire (java.sql.Connection, java.lang.Object[], java.lang.Object[]) throws java.sql.SQLException
public void close ()
public void remove ()
protected void insert (java.lang.Object[]) throws java.sql.SQLException
protected void delete (java.lang.Object[]) throws java.sql.SQLException
private int[] getWordIds (java.lang.Object[]) throws java.sql.SQLException
private java.lang.String getKey (java.lang.Object[]) throws java.sql.SQLException
}
org/h2/fulltext/FullText.classFullText.java
package org.h2.fulltext
public org.h2.fulltext.FullText extends java.lang.Object {
protected static final String FIELD_SCHEMA
protected static final String FIELD_TABLE
protected static final String FIELD_COLUMNS
protected static final String FIELD_KEYS
protected static final String FIELD_SCORE
private static final String TRIGGER_PREFIX
private static final String SCHEMA
private static final String SELECT_MAP_BY_WORD_ID
private static final String SELECT_ROW_BY_ID
private static final String FIELD_QUERY
public void ()
public static void init (java.sql.Connection) throws java.sql.SQLException
public static void createIndex (java.sql.Connection, java.lang.String, java.lang.String, java.lang.String) throws java.sql.SQLException
public static void reindex (java.sql.Connection) throws java.sql.SQLException
public static void dropIndex (java.sql.Connection, java.lang.String, java.lang.String) throws java.sql.SQLException
public static void dropAll (java.sql.Connection) throws java.sql.SQLException
public static java.sql.ResultSet search (java.sql.Connection, java.lang.String, int, int) throws java.sql.SQLException
public static java.sql.ResultSet searchData (java.sql.Connection, java.lang.String, int, int) throws java.sql.SQLException
public static void setIgnoreList (java.sql.Connection, java.lang.String) throws java.sql.SQLException
protected static java.lang.String asString (java.lang.Object, int) throws java.sql.SQLException
protected static org.h2.tools.SimpleResultSet createResultSet (boolean)
protected static java.lang.Object[][] parseKey (java.sql.Connection, java.lang.String)
protected static java.lang.String quoteSQL (java.lang.Object, int) throws java.sql.SQLException
protected static void removeAllTriggers (java.sql.Connection, java.lang.String) throws java.sql.SQLException
protected static void setColumns (int[], java.util.ArrayList, java.util.ArrayList) throws java.sql.SQLException
protected static java.sql.ResultSet search (java.sql.Connection, java.lang.String, int, int, boolean) throws java.sql.SQLException
private static void addColumnData (java.util.ArrayList, java.util.ArrayList, org.h2.expression.Expression)
protected static void addWords (org.h2.fulltext.FullTextSettings, java.util.HashSet, java.io.Reader)
protected static void addWords (org.h2.fulltext.FullTextSettings, java.util.HashSet, java.lang.String)
protected static void createTrigger (java.sql.Connection, java.lang.String, java.lang.String) throws java.sql.SQLException
private static void createOrDropTrigger (java.sql.Connection, java.lang.String, java.lang.String, boolean) throws java.sql.SQLException
protected static void indexExistingRows (java.sql.Connection, java.lang.String, java.lang.String) throws java.sql.SQLException
private static java.lang.String quoteString (java.lang.String)
private static void setIgnoreList (org.h2.fulltext.FullTextSettings, java.lang.String)
protected static boolean hasChanged (java.lang.Object[], java.lang.Object[], int[])
public static void closeAll ()
protected static java.sql.SQLException throwException (java.lang.String) throws java.sql.SQLException
}
org/h2/fulltext/FullTextLucene$FullTextTrigger.classFullTextLucene.java
package org.h2.fulltext
public org.h2.fulltext.FullTextLucene$FullTextTrigger extends java.lang.Object implements org.h2.api.Trigger {
protected String schema
protected String table
protected int[] keys
protected int[] indexColumns
protected String[] columns
protected int[] columnTypes
protected String indexPath
protected org.h2.fulltext.FullTextLucene$IndexAccess indexAccess
public void ()
public void init (java.sql.Connection, java.lang.String, java.lang.String, java.lang.String, boolean, int) throws java.sql.SQLException
public void fire (java.sql.Connection, java.lang.Object[], java.lang.Object[]) throws java.sql.SQLException
public void close () throws java.sql.SQLException
public void remove ()
protected void insert (java.lang.Object[]) throws java.sql.SQLException
protected void delete (java.lang.Object[]) throws java.sql.SQLException
private java.lang.String getQuery (java.lang.Object[]) throws java.sql.SQLException
}
org/h2/fulltext/FullTextLucene$IndexAccess.classFullTextLucene.java
package org.h2.fulltext
org.h2.fulltext.FullTextLucene$IndexAccess extends java.lang.Object {
org.apache.lucene.index.IndexModifier modifier
void ()
}
org/h2/fulltext/FullTextLucene.classFullTextLucene.java
package org.h2.fulltext
public org.h2.fulltext.FullTextLucene extends org.h2.fulltext.FullText {
protected static final boolean STORE_DOCUMENT_TEXT_IN_INDEX
private static final java.util.HashMap INDEX_ACCESS
private static final String TRIGGER_PREFIX
private static final String SCHEMA
private static final String LUCENE_FIELD_DATA
private static final String LUCENE_FIELD_QUERY
private static final String LUCENE_FIELD_MODIFIED
private static final String LUCENE_FIELD_COLUMN_PREFIX
public void ()
public static void init (java.sql.Connection) throws java.sql.SQLException
public static void createIndex (java.sql.Connection, java.lang.String, java.lang.String, java.lang.String) throws java.sql.SQLException
public static void reindex (java.sql.Connection) throws java.sql.SQLException
public static void dropAll (java.sql.Connection) throws java.sql.SQLException
public static java.sql.ResultSet search (java.sql.Connection, java.lang.String, int, int) throws java.sql.SQLException
public static java.sql.ResultSet searchData (java.sql.Connection, java.lang.String, int, int) throws java.sql.SQLException
protected static java.sql.SQLException convertException (java.lang.Exception)
protected static void createTrigger (java.sql.Connection, java.lang.String, java.lang.String) throws java.sql.SQLException
protected static org.h2.fulltext.FullTextLucene$IndexAccess getIndexAccess (java.sql.Connection) throws java.sql.SQLException
protected static java.lang.String getIndexPath (java.sql.Connection) throws java.sql.SQLException
protected static void indexExistingRows (java.sql.Connection, java.lang.String, java.lang.String) throws java.sql.SQLException
private static void removeIndexFiles (java.sql.Connection) throws java.sql.SQLException
protected static void removeIndexAccess (org.h2.fulltext.FullTextLucene$IndexAccess, java.lang.String) throws java.sql.SQLException
protected static java.sql.ResultSet search (java.sql.Connection, java.lang.String, int, int, boolean) throws java.sql.SQLException
static void ()
}
org/h2/fulltext/FullTextSettings.classFullTextSettings.java
package org.h2.fulltext
public org.h2.fulltext.FullTextSettings extends java.lang.Object {
protected static final java.util.HashMap SETTINGS
protected boolean initialized
protected java.util.HashSet ignoreList
protected java.util.HashMap words
protected java.util.HashMap indexes
protected org.h2.util.SoftHashMap cache
protected void ()
protected java.util.HashSet getIgnoreList ()
protected java.util.HashMap getWordList ()
protected org.h2.fulltext.IndexInfo getIndexInfo (int)
protected void addIndexInfo (org.h2.fulltext.IndexInfo)
protected java.lang.String convertWord (java.lang.String)
protected static org.h2.fulltext.FullTextSettings getInstance (java.sql.Connection) throws java.sql.SQLException
protected static java.lang.String getIndexPath (java.sql.Connection) throws java.sql.SQLException
protected synchronized java.sql.PreparedStatement prepare (java.sql.Connection, java.lang.String) throws java.sql.SQLException
protected void removeAllIndexes ()
protected void removeIndexInfo (org.h2.fulltext.IndexInfo)
protected void setInitialized (boolean)
protected boolean isInitialized ()
protected static void closeAll ()
static void ()
}
org/h2/fulltext/IndexInfo.classIndexInfo.java
package org.h2.fulltext
public org.h2.fulltext.IndexInfo extends java.lang.Object {
protected int id
protected String schema
protected String table
protected int[] keys
protected int[] indexColumns
protected String[] columns
public void ()
}
org/h2/index/BaseIndex.classBaseIndex.java
package org.h2.index
public abstract org.h2.index.BaseIndex extends org.h2.schema.SchemaObjectBase implements org.h2.index.Index {
protected org.h2.table.IndexColumn[] indexColumns
protected org.h2.table.Column[] columns
protected int[] columnIds
protected org.h2.table.Table table
protected org.h2.index.IndexType indexType
protected boolean isMultiVersion
public void ()
protected void initBaseIndex (org.h2.table.Table, int, java.lang.String, org.h2.table.IndexColumn[], org.h2.index.IndexType)
public int getRootPageId ()
public abstract void close (org.h2.engine.Session)
public abstract void add (org.h2.engine.Session, org.h2.result.Row)
public abstract void remove (org.h2.engine.Session, org.h2.result.Row)
public abstract org.h2.index.Cursor find (org.h2.engine.Session, org.h2.result.SearchRow, org.h2.result.SearchRow)
public abstract double getCost (org.h2.engine.Session, int[])
public abstract void remove (org.h2.engine.Session)
public abstract void truncate (org.h2.engine.Session)
public abstract boolean canGetFirstOrLast ()
public abstract org.h2.index.Cursor findFirstOrLast (org.h2.engine.Session, boolean)
public abstract boolean needRebuild ()
public java.lang.String getDropSQL ()
public org.h2.message.DbException getDuplicateKeyException ()
public java.lang.String getPlanSQL ()
public void removeChildrenAndResources (org.h2.engine.Session)
public boolean canFindNext ()
public org.h2.index.Cursor findNext (org.h2.engine.Session, org.h2.result.SearchRow, org.h2.result.SearchRow)
public int getLookupCost (long)
public long getCostRangeIndex (int[], long)
public int compareRows (org.h2.result.SearchRow, org.h2.result.SearchRow)
public boolean containsNullAndAllowMultipleNull (org.h2.result.SearchRow)
public int compareKeys (org.h2.result.SearchRow, org.h2.result.SearchRow)
private int compareValues (org.h2.value.Value, org.h2.value.Value, int)
public int getColumnIndex (org.h2.table.Column)
public java.lang.String getColumnListSQL ()
public java.lang.String getCreateSQLForCopy (org.h2.table.Table, java.lang.String)
public java.lang.String getCreateSQL ()
public org.h2.table.IndexColumn[] getIndexColumns ()
public org.h2.table.Column[] getColumns ()
public org.h2.index.IndexType getIndexType ()
public int getType ()
public org.h2.table.Table getTable ()
public void commit (int, org.h2.result.Row)
void setMultiVersion (boolean)
public org.h2.result.Row getRow (org.h2.engine.Session, long)
public boolean isHidden ()
}
org/h2/index/Cursor.classCursor.java
package org.h2.index
public abstract org.h2.index.Cursor extends java.lang.Object {
public abstract org.h2.result.Row get ()
public abstract org.h2.result.SearchRow getSearchRow ()
public abstract boolean next ()
public abstract boolean previous ()
}
org/h2/index/FunctionCursor.classFunctionCursor.java
package org.h2.index
public org.h2.index.FunctionCursor extends java.lang.Object implements org.h2.index.Cursor {
private final org.h2.result.ResultInterface result
private org.h2.value.Value[] values
private org.h2.result.Row row
void (org.h2.result.ResultInterface)
public org.h2.result.Row get ()
public org.h2.result.SearchRow getSearchRow ()
public boolean next ()
public boolean previous ()
}
org/h2/index/FunctionCursorResultSet.classFunctionCursorResultSet.java
package org.h2.index
public org.h2.index.FunctionCursorResultSet extends java.lang.Object implements org.h2.index.Cursor {
private final org.h2.engine.Session session
private final java.sql.ResultSet result
private final java.sql.ResultSetMetaData meta
private org.h2.value.Value[] values
private org.h2.result.Row row
void (org.h2.engine.Session, java.sql.ResultSet)
public org.h2.result.Row get ()
public org.h2.result.SearchRow getSearchRow ()
public boolean next ()
public boolean previous ()
}
org/h2/index/FunctionIndex.classFunctionIndex.java
package org.h2.index
public org.h2.index.FunctionIndex extends org.h2.index.BaseIndex {
private final org.h2.table.FunctionTable functionTable
public void (org.h2.table.FunctionTable, org.h2.table.IndexColumn[])
public void close (org.h2.engine.Session)
public void add (org.h2.engine.Session, org.h2.result.Row)
public void remove (org.h2.engine.Session, org.h2.result.Row)
public org.h2.index.Cursor find (org.h2.engine.Session, org.h2.result.SearchRow, org.h2.result.SearchRow)
public double getCost (org.h2.engine.Session, int[])
public void remove (org.h2.engine.Session)
public void truncate (org.h2.engine.Session)
public boolean needRebuild ()
public void checkRename ()
public boolean canGetFirstOrLast ()
public org.h2.index.Cursor findFirstOrLast (org.h2.engine.Session, boolean)
public long getRowCount (org.h2.engine.Session)
public long getRowCountApproximation ()
}
org/h2/index/HashIndex.classHashIndex.java
package org.h2.index
public org.h2.index.HashIndex extends org.h2.index.BaseIndex {
protected final int indexColumn
private final org.h2.table.RegularTable tableData
private org.h2.util.ValueHashMap rows
public void (org.h2.table.RegularTable, int, java.lang.String, org.h2.table.IndexColumn[], org.h2.index.IndexType)
private void reset ()
public void truncate (org.h2.engine.Session)
public void add (org.h2.engine.Session, org.h2.result.Row)
public void remove (org.h2.engine.Session, org.h2.result.Row)
public org.h2.index.Cursor find (org.h2.engine.Session, org.h2.result.SearchRow, org.h2.result.SearchRow)
public long getRowCount (org.h2.engine.Session)
public long getRowCountApproximation ()
public void close (org.h2.engine.Session)
public void remove (org.h2.engine.Session)
public double getCost (org.h2.engine.Session, int[])
public void checkRename ()
public boolean needRebuild ()
public boolean canGetFirstOrLast ()
public org.h2.index.Cursor findFirstOrLast (org.h2.engine.Session, boolean)
}
org/h2/index/Index.classIndex.java
package org.h2.index
public abstract org.h2.index.Index extends java.lang.Object implements org.h2.schema.SchemaObject {
public abstract org.h2.message.DbException getDuplicateKeyException ()
public abstract java.lang.String getPlanSQL ()
public abstract void close (org.h2.engine.Session)
public abstract void add (org.h2.engine.Session, org.h2.result.Row)
public abstract void remove (org.h2.engine.Session, org.h2.result.Row)
public abstract org.h2.index.Cursor find (org.h2.engine.Session, org.h2.result.SearchRow, org.h2.result.SearchRow)
public abstract double getCost (org.h2.engine.Session, int[])
public abstract void remove (org.h2.engine.Session)
public abstract void truncate (org.h2.engine.Session)
public abstract boolean canGetFirstOrLast ()
public abstract boolean canFindNext ()
public abstract org.h2.index.Cursor findNext (org.h2.engine.Session, org.h2.result.SearchRow, org.h2.result.SearchRow)
public abstract org.h2.index.Cursor findFirstOrLast (org.h2.engine.Session, boolean)
public abstract boolean needRebuild ()
public abstract long getRowCount (org.h2.engine.Session)
public abstract long getRowCountApproximation ()
public abstract int getLookupCost (long)
public abstract long getCostRangeIndex (int[], long)
public abstract int compareRows (org.h2.result.SearchRow, org.h2.result.SearchRow)
public abstract boolean containsNullAndAllowMultipleNull (org.h2.result.SearchRow)
public abstract int compareKeys (org.h2.result.SearchRow, org.h2.result.SearchRow)
public abstract int getColumnIndex (org.h2.table.Column)
public abstract java.lang.String getColumnListSQL ()
public abstract org.h2.table.IndexColumn[] getIndexColumns ()
public abstract org.h2.table.Column[] getColumns ()
public abstract org.h2.index.IndexType getIndexType ()
public abstract org.h2.table.Table getTable ()
public abstract void commit (int, org.h2.result.Row)
public abstract int getRootPageId ()
public abstract org.h2.result.Row getRow (org.h2.engine.Session, long)
}
org/h2/index/IndexCondition$1.classIndexCondition.java
package org.h2.index
org.h2.index.IndexCondition$1 extends java.lang.Object implements java.util.Comparator {
final synthetic org.h2.value.CompareMode val$mode
final synthetic org.h2.index.IndexCondition this$0
void (org.h2.index.IndexCondition, org.h2.value.CompareMode)
public int compare (org.h2.value.Value, org.h2.value.Value)
public volatile synthetic int compare (java.lang.Object, java.lang.Object)
}
org/h2/index/IndexCondition.classIndexCondition.java
package org.h2.index
public org.h2.index.IndexCondition extends java.lang.Object {
public static final int EQUALITY
public static final int START
public static final int END
public static final int RANGE
public static final int ALWAYS_FALSE
private org.h2.table.Column column
private int compareType
private org.h2.expression.Expression expression
private java.util.List expressionList
private org.h2.command.dml.Query expressionQuery
private void (int, org.h2.expression.ExpressionColumn, org.h2.expression.Expression)
public static org.h2.index.IndexCondition get (int, org.h2.expression.ExpressionColumn, org.h2.expression.Expression)
public static org.h2.index.IndexCondition getInList (org.h2.expression.ExpressionColumn, java.util.List)
public static org.h2.index.IndexCondition getInQuery (org.h2.expression.ExpressionColumn, org.h2.command.dml.Query)
public org.h2.value.Value getCurrentValue (org.h2.engine.Session)
public org.h2.value.Value[] getCurrentValueList (org.h2.engine.Session)
public org.h2.result.ResultInterface getCurrentResult (org.h2.engine.Session)
public java.lang.String getSQL ()
public int getMask (java.util.ArrayList)
public boolean isAlwaysFalse ()
public boolean isStart ()
public boolean isEnd ()
public int getCompareType ()
public org.h2.table.Column getColumn ()
public boolean isEvaluatable ()
}
org/h2/index/IndexCursor.classIndexCursor.java
package org.h2.index
public org.h2.index.IndexCursor extends java.lang.Object implements org.h2.index.Cursor {
private org.h2.engine.Session session
private org.h2.index.Index index
private org.h2.table.Table table
private org.h2.table.IndexColumn[] indexColumns
private boolean alwaysFalse
private org.h2.result.SearchRow start
private org.h2.result.SearchRow end
private org.h2.index.Cursor cursor
private org.h2.table.Column inColumn
private int inListIndex
private org.h2.value.Value[] inList
private org.h2.result.ResultInterface inResult
private java.util.HashSet inResultTested
public void ()
public void setIndex (org.h2.index.Index)
public void find (org.h2.engine.Session, java.util.ArrayList)
private boolean canUseIndexForIn (org.h2.table.Column)
private org.h2.result.SearchRow getSearchRow (org.h2.result.SearchRow, int, org.h2.value.Value, boolean)
private org.h2.value.Value getMax (org.h2.value.Value, org.h2.value.Value, boolean)
public boolean isAlwaysFalse ()
public org.h2.result.Row get ()
public org.h2.result.SearchRow getSearchRow ()
public boolean next ()
private void nextCursor ()
private void find (org.h2.value.Value)
public boolean previous ()
}
org/h2/index/IndexType.classIndexType.java
package org.h2.index
public org.h2.index.IndexType extends java.lang.Object {
private boolean primaryKey
private boolean persistent
private boolean unique
private boolean hash
private boolean scan
private boolean belongsToConstraint
public void ()
public static org.h2.index.IndexType createPrimaryKey (boolean, boolean)
public static org.h2.index.IndexType createUnique (boolean, boolean)
public static org.h2.index.IndexType createNonUnique (boolean)
public static org.h2.index.IndexType createNonUnique (boolean, boolean)
public static org.h2.index.IndexType createScan (boolean)
public void setBelongsToConstraint (boolean)
public boolean getBelongsToConstraint ()
public boolean isHash ()
public boolean isPersistent ()
public boolean isPrimaryKey ()
public boolean isUnique ()
public java.lang.String getSQL ()
public boolean isScan ()
}
org/h2/index/LinkedCursor.classLinkedCursor.java
package org.h2.index
public org.h2.index.LinkedCursor extends java.lang.Object implements org.h2.index.Cursor {
private final org.h2.table.TableLink tableLink
private final java.sql.PreparedStatement prep
private final String sql
private final org.h2.engine.Session session
private final java.sql.ResultSet rs
private org.h2.result.Row current
void (org.h2.table.TableLink, java.sql.ResultSet, org.h2.engine.Session, java.lang.String, java.sql.PreparedStatement)
public org.h2.result.Row get ()
public org.h2.result.SearchRow getSearchRow ()
public boolean next ()
public boolean previous ()
}
org/h2/index/LinkedIndex.classLinkedIndex.java
package org.h2.index
public org.h2.index.LinkedIndex extends org.h2.index.BaseIndex {
private org.h2.table.TableLink link
private String targetTableName
private long rowCount
public void (org.h2.table.TableLink, int, org.h2.table.IndexColumn[], org.h2.index.IndexType)
public java.lang.String getCreateSQL ()
public void close (org.h2.engine.Session)
private boolean isNull (org.h2.value.Value)
public void add (org.h2.engine.Session, org.h2.result.Row)
public org.h2.index.Cursor find (org.h2.engine.Session, org.h2.result.SearchRow, org.h2.result.SearchRow)
private void addParameter (org.h2.util.StatementBuilder, org.h2.table.Column)
public double getCost (org.h2.engine.Session, int[])
public void remove (org.h2.engine.Session)
public void truncate (org.h2.engine.Session)
public void checkRename ()
public boolean needRebuild ()
public boolean canGetFirstOrLast ()
public org.h2.index.Cursor findFirstOrLast (org.h2.engine.Session, boolean)
public void remove (org.h2.engine.Session, org.h2.result.Row)
public void update (org.h2.result.Row, org.h2.result.Row)
public long getRowCount (org.h2.engine.Session)
public long getRowCountApproximation ()
}
org/h2/index/MetaCursor.classMetaCursor.java
package org.h2.index
public org.h2.index.MetaCursor extends java.lang.Object implements org.h2.index.Cursor {
private org.h2.result.Row current
private java.util.ArrayList rows
private int index
void (java.util.ArrayList)
public org.h2.result.Row get ()
public org.h2.result.SearchRow getSearchRow ()
public boolean next ()
public boolean previous ()
}
org/h2/index/MetaIndex.classMetaIndex.java
package org.h2.index
public org.h2.index.MetaIndex extends org.h2.index.BaseIndex {
private org.h2.table.MetaTable meta
private boolean scan
public void (org.h2.table.MetaTable, org.h2.table.IndexColumn[], boolean)
public void close (org.h2.engine.Session)
public void add (org.h2.engine.Session, org.h2.result.Row)
public void remove (org.h2.engine.Session, org.h2.result.Row)
public org.h2.index.Cursor find (org.h2.engine.Session, org.h2.result.SearchRow, org.h2.result.SearchRow)
public double getCost (org.h2.engine.Session, int[])
public void truncate (org.h2.engine.Session)
public void remove (org.h2.engine.Session)
public int getColumnIndex (org.h2.table.Column)
public void checkRename ()
public boolean needRebuild ()
public java.lang.String getCreateSQL ()
public boolean canGetFirstOrLast ()
public org.h2.index.Cursor findFirstOrLast (org.h2.engine.Session, boolean)
public long getRowCount (org.h2.engine.Session)
public long getRowCountApproximation ()
}
org/h2/index/MultiVersionCursor.classMultiVersionCursor.java
package org.h2.index
public org.h2.index.MultiVersionCursor extends java.lang.Object implements org.h2.index.Cursor {
private final org.h2.index.MultiVersionIndex index
private final org.h2.engine.Session session
private final org.h2.index.Cursor baseCursor
private final org.h2.index.Cursor deltaCursor
private final Object sync
private org.h2.result.SearchRow baseRow
private org.h2.result.Row deltaRow
private boolean onBase
private boolean end
private boolean needNewDelta
private boolean needNewBase
private boolean reverse
void (org.h2.engine.Session, org.h2.index.MultiVersionIndex, org.h2.index.Cursor, org.h2.index.Cursor, java.lang.Object)
void loadCurrent ()
private void loadNext (boolean)
private boolean step (org.h2.index.Cursor)
public org.h2.result.Row get ()
public org.h2.result.SearchRow getSearchRow ()
public boolean next ()
public boolean previous ()
}
org/h2/index/MultiVersionIndex.classMultiVersionIndex.java
package org.h2.index
public org.h2.index.MultiVersionIndex extends java.lang.Object implements org.h2.index.Index {
private final org.h2.index.Index base
private final org.h2.index.TreeIndex delta
private final org.h2.table.RegularTable table
private final Object sync
private final org.h2.table.Column firstColumn
public void (org.h2.index.Index, org.h2.table.RegularTable)
public void add (org.h2.engine.Session, org.h2.result.Row)
public int getRootPageId ()
public void close (org.h2.engine.Session)
public org.h2.index.Cursor find (org.h2.engine.Session, org.h2.result.SearchRow, org.h2.result.SearchRow)
public org.h2.index.Cursor findNext (org.h2.engine.Session, org.h2.result.SearchRow, org.h2.result.SearchRow)
public boolean canFindNext ()
public boolean canGetFirstOrLast ()
public org.h2.index.Cursor findFirstOrLast (org.h2.engine.Session, boolean)
public double getCost (org.h2.engine.Session, int[])
public boolean needRebuild ()
public boolean isUncommittedFromOtherSession (org.h2.engine.Session, org.h2.result.Row)
private boolean removeIfExists (org.h2.engine.Session, org.h2.result.Row)
public void remove (org.h2.engine.Session, org.h2.result.Row)
public void remove (org.h2.engine.Session)
public void truncate (org.h2.engine.Session)
public void commit (int, org.h2.result.Row)
public int compareKeys (org.h2.result.SearchRow, org.h2.result.SearchRow)
public int compareRows (org.h2.result.SearchRow, org.h2.result.SearchRow)
public int getColumnIndex (org.h2.table.Column)
public java.lang.String getColumnListSQL ()
public org.h2.table.Column[] getColumns ()
public org.h2.table.IndexColumn[] getIndexColumns ()
public long getCostRangeIndex (int[], long)
public java.lang.String getCreateSQL ()
public java.lang.String getCreateSQLForCopy (org.h2.table.Table, java.lang.String)
public java.lang.String getDropSQL ()
public org.h2.message.DbException getDuplicateKeyException ()
public org.h2.index.IndexType getIndexType ()
public int getLookupCost (long)
public java.lang.String getPlanSQL ()
public long getRowCount (org.h2.engine.Session)
public org.h2.table.Table getTable ()
public int getType ()
public boolean containsNullAndAllowMultipleNull (org.h2.result.SearchRow)
public void removeChildrenAndResources (org.h2.engine.Session)
public java.lang.String getSQL ()
public org.h2.schema.Schema getSchema ()
public void checkRename ()
public java.util.ArrayList getChildren ()
public java.lang.String getComment ()
public org.h2.engine.Database getDatabase ()
public int getId ()
public long getModificationId ()
public java.lang.String getName ()
public boolean isTemporary ()
public void rename (java.lang.String)
public void setComment (java.lang.String)
public void setModified ()
public void setTemporary (boolean)
public long getRowCountApproximation ()
public org.h2.index.Index getBaseIndex ()
public org.h2.result.Row getRow (org.h2.engine.Session, long)
public boolean isHidden ()
}
org/h2/index/NonUniqueHashCursor.classNonUniqueHashCursor.java
package org.h2.index
public org.h2.index.NonUniqueHashCursor extends java.lang.Object implements org.h2.index.Cursor {
private final org.h2.engine.Session session
private final java.util.ArrayList positions
private final org.h2.table.RegularTable tableData
private int index
public void (org.h2.engine.Session, org.h2.table.RegularTable, java.util.ArrayList)
public org.h2.result.Row get ()
public org.h2.result.SearchRow getSearchRow ()
public boolean next ()
public boolean previous ()
}
org/h2/index/NonUniqueHashIndex.classNonUniqueHashIndex.java
package org.h2.index
public org.h2.index.NonUniqueHashIndex extends org.h2.index.HashIndex {
private org.h2.util.ValueHashMap rows
private org.h2.table.RegularTable tableData
private long rowCount
public void (org.h2.table.RegularTable, int, java.lang.String, org.h2.table.IndexColumn[], org.h2.index.IndexType)
private void reset ()
public void truncate (org.h2.engine.Session)
public void add (org.h2.engine.Session, org.h2.result.Row)
public void remove (org.h2.engine.Session, org.h2.result.Row)
public org.h2.index.Cursor find (org.h2.engine.Session, org.h2.result.SearchRow, org.h2.result.SearchRow)
public long getRowCount (org.h2.engine.Session)
public long getRowCountApproximation ()
}
org/h2/index/PageBtree.classPageBtree.java
package org.h2.index
public abstract org.h2.index.PageBtree extends org.h2.store.Page {
static final int ROOT
static final int UNKNOWN_ROWCOUNT
protected final org.h2.index.PageBtreeIndex index
protected int parentPageId
protected final org.h2.store.Data data
protected int[] offsets
protected int entryCount
protected org.h2.result.SearchRow[] rows
protected int start
protected boolean onlyPosition
protected boolean written
protected int memoryEstimated
void (org.h2.index.PageBtreeIndex, int, org.h2.store.Data)
abstract int getRowCount ()
abstract void setRowCountStored (int)
int find (org.h2.result.SearchRow, boolean, boolean, boolean)
abstract int addRowTry (org.h2.result.SearchRow)
abstract void find (org.h2.index.PageBtreeCursor, org.h2.result.SearchRow, boolean)
abstract void last (org.h2.index.PageBtreeCursor)
org.h2.result.SearchRow getRow (int)
abstract org.h2.index.PageBtree split (int)
void setPageId (int)
abstract org.h2.index.PageBtreeLeaf getFirstLeaf ()
abstract org.h2.index.PageBtreeLeaf getLastLeaf ()
void setParentPageId (int)
abstract void remapChildren ()
abstract org.h2.result.SearchRow remove (org.h2.result.SearchRow)
abstract void freeRecursive ()
protected void readAllRows ()
public int getMemory ()
public boolean canRemove ()
}
org/h2/index/PageBtreeCursor.classPageBtreeCursor.java
package org.h2.index
public org.h2.index.PageBtreeCursor extends java.lang.Object implements org.h2.index.Cursor {
private final org.h2.engine.Session session
private final org.h2.index.PageBtreeIndex index
private final org.h2.result.SearchRow last
private org.h2.index.PageBtreeLeaf current
private int i
private org.h2.result.SearchRow currentSearchRow
private org.h2.result.Row currentRow
void (org.h2.engine.Session, org.h2.index.PageBtreeIndex, org.h2.result.SearchRow)
void setCurrent (org.h2.index.PageBtreeLeaf, int)
public org.h2.result.Row get ()
public org.h2.result.SearchRow getSearchRow ()
public boolean next ()
public boolean previous ()
}
org/h2/index/PageBtreeIndex.classPageBtreeIndex.java
package org.h2.index
public org.h2.index.PageBtreeIndex extends org.h2.index.PageIndex {
private org.h2.store.PageStore store
private org.h2.table.RegularTable tableData
private boolean needRebuild
private long rowCount
private int memoryPerPage
private int memoryCount
public void (org.h2.table.RegularTable, int, java.lang.String, org.h2.table.IndexColumn[], org.h2.index.IndexType, boolean, org.h2.engine.Session)
public void add (org.h2.engine.Session, org.h2.result.Row)
private void addRow (org.h2.result.SearchRow)
private org.h2.result.SearchRow getSearchRow (org.h2.result.Row)
org.h2.index.PageBtree getPage (int)
public boolean canGetFirstOrLast ()
public org.h2.index.Cursor findNext (org.h2.engine.Session, org.h2.result.SearchRow, org.h2.result.SearchRow)
public org.h2.index.Cursor find (org.h2.engine.Session, org.h2.result.SearchRow, org.h2.result.SearchRow)
private org.h2.index.Cursor find (org.h2.engine.Session, org.h2.result.SearchRow, boolean, org.h2.result.SearchRow)
public org.h2.index.Cursor findFirstOrLast (org.h2.engine.Session, boolean)
public double getCost (org.h2.engine.Session, int[])
public boolean needRebuild ()
public void remove (org.h2.engine.Session, org.h2.result.Row)
public void remove (org.h2.engine.Session)
public void truncate (org.h2.engine.Session)
private void removeAllRows ()
public void checkRename ()
public org.h2.result.Row getRow (org.h2.engine.Session, long)
org.h2.store.PageStore getPageStore ()
public long getRowCountApproximation ()
public long getRowCount (org.h2.engine.Session)
public void close (org.h2.engine.Session)
org.h2.result.SearchRow readRow (org.h2.store.Data, int, boolean, boolean)
org.h2.result.SearchRow readRow (long)
void writeRow (org.h2.store.Data, int, org.h2.result.SearchRow, boolean)
int getRowSize (org.h2.store.Data, org.h2.result.SearchRow, boolean)
public boolean canFindNext ()
void setRootPageId (org.h2.engine.Session, int)
private void invalidateRowCount ()
public void writeRowCount ()
boolean hasData (org.h2.result.SearchRow)
int getMemoryPerPage ()
void memoryChange (int)
}
org/h2/index/PageBtreeLeaf.classPageBtreeLeaf.java
package org.h2.index
public org.h2.index.PageBtreeLeaf extends org.h2.index.PageBtree {
private static final int OFFSET_LENGTH
private final boolean optimizeUpdate
private boolean writtenData
private void (org.h2.index.PageBtreeIndex, int, org.h2.store.Data)
public static org.h2.store.Page read (org.h2.index.PageBtreeIndex, org.h2.store.Data, int)
static org.h2.index.PageBtreeLeaf create (org.h2.index.PageBtreeIndex, int, int)
private void read ()
int addRowTry (org.h2.result.SearchRow)
private int addRow (org.h2.result.SearchRow, boolean)
private void removeRow (int)
int getEntryCount ()
org.h2.index.PageBtree split (int)
org.h2.index.PageBtreeLeaf getFirstLeaf ()
org.h2.index.PageBtreeLeaf getLastLeaf ()
org.h2.result.SearchRow remove (org.h2.result.SearchRow)
void freeRecursive ()
int getRowCount ()
void setRowCountStored (int)
public void write ()
private void writeHead ()
private void writeData ()
void find (org.h2.index.PageBtreeCursor, org.h2.result.SearchRow, boolean)
void last (org.h2.index.PageBtreeCursor)
void remapChildren ()
void nextPage (org.h2.index.PageBtreeCursor)
void previousPage (org.h2.index.PageBtreeCursor)
public java.lang.String toString ()
public void moveTo (org.h2.engine.Session, int)
private void memoryChange ()
}
org/h2/index/PageBtreeNode.classPageBtreeNode.java
package org.h2.index
public org.h2.index.PageBtreeNode extends org.h2.index.PageBtree {
private static final int CHILD_OFFSET_PAIR_LENGTH
private static final int MAX_KEY_LENGTH
private final boolean pageStoreInternalCount
private int[] childPageIds
private int rowCountStored
private int rowCount
private void (org.h2.index.PageBtreeIndex, int, org.h2.store.Data)
public static org.h2.store.Page read (org.h2.index.PageBtreeIndex, org.h2.store.Data, int)
static org.h2.index.PageBtreeNode create (org.h2.index.PageBtreeIndex, int, int)
private void read ()
private int addChildTry (org.h2.result.SearchRow)
private void addChild (int, int, org.h2.result.SearchRow)
int addRowTry (org.h2.result.SearchRow)
private void updateRowCount (int)
org.h2.index.PageBtree split (int)
protected void remapChildren ()
void init (org.h2.index.PageBtree, org.h2.result.SearchRow, org.h2.index.PageBtree)
void find (org.h2.index.PageBtreeCursor, org.h2.result.SearchRow, boolean)
void last (org.h2.index.PageBtreeCursor)
org.h2.index.PageBtreeLeaf getFirstLeaf ()
org.h2.index.PageBtreeLeaf getLastLeaf ()
org.h2.result.SearchRow remove (org.h2.result.SearchRow)
int getRowCount ()
void setRowCountStored (int)
private void check ()
public void write ()
private void writeHead ()
private void writeData ()
void freeRecursive ()
private void removeChild (int)
void nextPage (org.h2.index.PageBtreeCursor, int)
void previousPage (org.h2.index.PageBtreeCursor, int)
public java.lang.String toString ()
public void moveTo (org.h2.engine.Session, int)
void moveChild (int, int)
}
org/h2/index/PageData.classPageData.java
package org.h2.index
abstract org.h2.index.PageData extends org.h2.store.Page {
static final int START_PARENT
static final int ROOT
static final int UNKNOWN_ROWCOUNT
protected final org.h2.index.PageDataIndex index
protected int parentPageId
protected final org.h2.store.Data data
protected int entryCount
protected long[] keys
protected boolean written
protected int memoryEstimated
void (org.h2.index.PageDataIndex, int, org.h2.store.Data)
abstract int getRowCount ()
abstract void setRowCountStored (int)
int find (long)
abstract int addRowTry (org.h2.result.Row)
abstract org.h2.index.Cursor find (org.h2.engine.Session, long, long, boolean)
long getKey (int)
abstract org.h2.index.PageData split (int)
void setPageId (int)
abstract long getLastKey ()
abstract org.h2.index.PageDataLeaf getFirstLeaf ()
void setParentPageId (int)
abstract void remapChildren (int)
abstract boolean remove (long)
abstract void freeRecursive ()
abstract org.h2.result.Row getRowWithKey (long)
public int getMemory ()
int getParentPageId ()
public boolean canRemove ()
}
org/h2/index/PageDataCursor.classPageDataCursor.java
package org.h2.index
org.h2.index.PageDataCursor extends java.lang.Object implements org.h2.index.Cursor {
private org.h2.index.PageDataLeaf current
private int idx
private final long maxKey
private org.h2.result.Row row
private final boolean multiVersion
private final org.h2.engine.Session session
private java.util.Iterator delta
void (org.h2.engine.Session, org.h2.index.PageDataLeaf, int, long, boolean)
public org.h2.result.Row get ()
public org.h2.result.SearchRow getSearchRow ()
public boolean next ()
private boolean checkMax ()
private void nextRow ()
public boolean previous ()
}
org/h2/index/PageDataIndex.classPageDataIndex.java
package org.h2.index
public org.h2.index.PageDataIndex extends org.h2.index.PageIndex {
private org.h2.store.PageStore store
private org.h2.table.RegularTable tableData
private long lastKey
private long rowCount
private java.util.HashSet delta
private int rowCountDiff
private java.util.HashMap sessionRowCount
private int mainIndexColumn
private org.h2.message.DbException fastDuplicateKeyException
private int memoryPerPage
private int memoryCount
private boolean multiVersion
public void (org.h2.table.RegularTable, int, org.h2.table.IndexColumn[], org.h2.index.IndexType, boolean, org.h2.engine.Session)
public org.h2.message.DbException getDuplicateKeyException ()
public void add (org.h2.engine.Session, org.h2.result.Row)
public org.h2.message.DbException getNewDuplicateKeyException ()
private void addTry (org.h2.engine.Session, org.h2.result.Row)
org.h2.index.PageDataOverflow getPageOverflow (int)
org.h2.index.PageData getPage (int, int)
public boolean canGetFirstOrLast ()
long getKey (org.h2.result.SearchRow, long, long)
public org.h2.index.Cursor find (org.h2.engine.Session, org.h2.result.SearchRow, org.h2.result.SearchRow)
org.h2.index.Cursor find (org.h2.engine.Session, long, long, boolean)
public org.h2.index.Cursor findFirstOrLast (org.h2.engine.Session, boolean)
long getLastKey ()
public double getCost (org.h2.engine.Session, int[])
public boolean needRebuild ()
public void remove (org.h2.engine.Session, org.h2.result.Row)
public void remove (org.h2.engine.Session)
public void truncate (org.h2.engine.Session)
private void removeAllRows ()
public void checkRename ()
public org.h2.result.Row getRow (org.h2.engine.Session, long)
public org.h2.result.Row getRowWithKey (long)
org.h2.store.PageStore getPageStore ()
org.h2.result.Row readRow (org.h2.store.Data, int, int)
public long getRowCountApproximation ()
public long getRowCount (org.h2.engine.Session)
public java.lang.String getCreateSQL ()
public int getColumnIndex (org.h2.table.Column)
public void close (org.h2.engine.Session)
java.util.Iterator getDelta ()
private void incrementRowCount (int, int)
public void commit (int, org.h2.result.Row)
void setRootPageId (org.h2.engine.Session, int)
public void setMainIndexColumn (int)
public int getMainIndexColumn ()
public java.lang.String toString ()
private void invalidateRowCount ()
public void writeRowCount ()
public java.lang.String getPlanSQL ()
int getMemoryPerPage ()
void memoryChange (int)
}
org/h2/index/PageDataLeaf.classPageDataLeaf.java
package org.h2.index
public org.h2.index.PageDataLeaf extends org.h2.index.PageData {
private final boolean optimizeUpdate
private int[] offsets
private org.h2.result.Row[] rows
private java.lang.ref.SoftReference rowRef
private int firstOverflowPageId
private int start
private int overflowRowSize
private int columnCount
private int memoryData
private boolean writtenData
private void (org.h2.index.PageDataIndex, int, org.h2.store.Data)
static org.h2.index.PageDataLeaf create (org.h2.index.PageDataIndex, int, int)
public static org.h2.store.Page read (org.h2.index.PageDataIndex, org.h2.store.Data, int)
private void read ()
private int getRowLength (org.h2.result.Row)
private int findInsertionPoint (long)
int addRowTry (org.h2.result.Row)
private void removeRow (int)
org.h2.index.Cursor find (org.h2.engine.Session, long, long, boolean)
org.h2.result.Row getRowAt (int)
int getEntryCount ()
org.h2.index.PageData split (int)
long getLastKey ()
org.h2.index.PageDataLeaf getNextPage ()
org.h2.index.PageDataLeaf getFirstLeaf ()
protected void remapChildren (int)
boolean remove (long)
void freeRecursive ()
private void freeOverflow ()
org.h2.result.Row getRowWithKey (long)
int getRowCount ()
void setRowCountStored (int)
public void write ()
private void readAllRows ()
private void writeHead ()
private void writeData ()
public java.lang.String toString ()
public void moveTo (org.h2.engine.Session, int)
void setOverflow (int, int)
private void memoryChange (boolean, org.h2.result.Row)
}
org/h2/index/PageDataNode.classPageDataNode.java
package org.h2.index
public org.h2.index.PageDataNode extends org.h2.index.PageData {
private int[] childPageIds
private int rowCountStored
private int rowCount
private int length
private void (org.h2.index.PageDataIndex, int, org.h2.store.Data)
static org.h2.index.PageDataNode create (org.h2.index.PageDataIndex, int, int)
public static org.h2.store.Page read (org.h2.index.PageDataIndex, org.h2.store.Data, int)
private void read ()
private void addChild (int, int, long)
int addRowTry (org.h2.result.Row)
private void updateRowCount (int)
org.h2.index.Cursor find (org.h2.engine.Session, long, long, boolean)
org.h2.index.PageData split (int)
protected void remapChildren (int)
void init (org.h2.index.PageData, long, org.h2.index.PageData)
long getLastKey ()
org.h2.index.PageDataLeaf getNextPage (long)
org.h2.index.PageDataLeaf getFirstLeaf ()
boolean remove (long)
void freeRecursive ()
org.h2.result.Row getRowWithKey (long)
int getRowCount ()
void setRowCountStored (int)
private void check ()
public void write ()
private void writeHead ()
private void writeData ()
private void removeChild (int)
public java.lang.String toString ()
public void moveTo (org.h2.engine.Session, int)
void moveChild (int, int)
}
org/h2/index/PageDataOverflow.classPageDataOverflow.java
package org.h2.index
public org.h2.index.PageDataOverflow extends org.h2.store.Page {
static final int START_LAST
static final int START_MORE
private static final int START_NEXT_OVERFLOW
private final org.h2.store.PageStore store
private int type
private int parentPageId
private int nextPage
private org.h2.store.Data data
private int start
private int size
private void (org.h2.store.PageStore, int, org.h2.store.Data)
public static org.h2.store.Page read (org.h2.store.PageStore, org.h2.store.Data, int)
static org.h2.index.PageDataOverflow create (org.h2.store.PageStore, int, int, int, int, org.h2.store.Data, int, int)
private void read ()
int readInto (org.h2.store.Data)
int getNextOverflow ()
private void writeHead ()
public void write ()
private void writeData ()
public java.lang.String toString ()
public int getMemory ()
void setParentPageId (int)
public void moveTo (org.h2.engine.Session, int)
private void setNext (int, int)
void free ()
public boolean canRemove ()
}
org/h2/index/PageDelegateIndex.classPageDelegateIndex.java
package org.h2.index
public org.h2.index.PageDelegateIndex extends org.h2.index.PageIndex {
private final org.h2.index.PageDataIndex mainIndex
public void (org.h2.table.RegularTable, int, java.lang.String, org.h2.index.IndexType, org.h2.index.PageDataIndex, boolean, org.h2.engine.Session)
public void add (org.h2.engine.Session, org.h2.result.Row)
public boolean canFindNext ()
public boolean canGetFirstOrLast ()
public void close (org.h2.engine.Session)
public org.h2.index.Cursor find (org.h2.engine.Session, org.h2.result.SearchRow, org.h2.result.SearchRow)
public org.h2.index.Cursor findFirstOrLast (org.h2.engine.Session, boolean)
public org.h2.index.Cursor findNext (org.h2.engine.Session, org.h2.result.SearchRow, org.h2.result.SearchRow)
public int getColumnIndex (org.h2.table.Column)
public double getCost (org.h2.engine.Session, int[])
public boolean needRebuild ()
public void remove (org.h2.engine.Session, org.h2.result.Row)
public void remove (org.h2.engine.Session)
public void truncate (org.h2.engine.Session)
public void checkRename ()
public long getRowCount (org.h2.engine.Session)
public long getRowCountApproximation ()
public void writeRowCount ()
}
org/h2/index/PageIndex.classPageIndex.java
package org.h2.index
public abstract org.h2.index.PageIndex extends org.h2.index.BaseIndex {
protected int rootPageId
private boolean sortedInsertMode
public void ()
public int getRootPageId ()
public abstract void writeRowCount ()
public void setSortedInsertMode (boolean)
boolean isSortedInsertMode ()
}
org/h2/index/RangeCursor.classRangeCursor.java
package org.h2.index
org.h2.index.RangeCursor extends java.lang.Object implements org.h2.index.Cursor {
private boolean beforeFirst
private long current
private org.h2.result.Row currentRow
private long min
private long max
void (long, long)
public org.h2.result.Row get ()
public org.h2.result.SearchRow getSearchRow ()
public boolean next ()
public boolean previous ()
}
org/h2/index/RangeIndex.classRangeIndex.java
package org.h2.index
public org.h2.index.RangeIndex extends org.h2.index.BaseIndex {
private org.h2.table.RangeTable rangeTable
public void (org.h2.table.RangeTable, org.h2.table.IndexColumn[])
public void close (org.h2.engine.Session)
public void add (org.h2.engine.Session, org.h2.result.Row)
public void remove (org.h2.engine.Session, org.h2.result.Row)
public org.h2.index.Cursor find (org.h2.engine.Session, org.h2.result.SearchRow, org.h2.result.SearchRow)
public double getCost (org.h2.engine.Session, int[])
public java.lang.String getCreateSQL ()
public void remove (org.h2.engine.Session)
public void truncate (org.h2.engine.Session)
public boolean needRebuild ()
public void checkRename ()
public boolean canGetFirstOrLast ()
public org.h2.index.Cursor findFirstOrLast (org.h2.engine.Session, boolean)
public long getRowCount (org.h2.engine.Session)
public long getRowCountApproximation ()
}
org/h2/index/ScanCursor.classScanCursor.java
package org.h2.index
public org.h2.index.ScanCursor extends java.lang.Object implements org.h2.index.Cursor {
private org.h2.index.ScanIndex scan
private org.h2.result.Row row
private final org.h2.engine.Session session
private final boolean multiVersion
private java.util.Iterator delta
void (org.h2.engine.Session, org.h2.index.ScanIndex, boolean)
public org.h2.result.Row get ()
public org.h2.result.SearchRow getSearchRow ()
public boolean next ()
public boolean previous ()
}
org/h2/index/ScanIndex.classScanIndex.java
package org.h2.index
public org.h2.index.ScanIndex extends org.h2.index.BaseIndex {
private long firstFree
private java.util.ArrayList rows
private org.h2.table.RegularTable tableData
private int rowCountDiff
private java.util.HashMap sessionRowCount
private java.util.HashSet delta
private long rowCount
public void (org.h2.table.RegularTable, int, org.h2.table.IndexColumn[], org.h2.index.IndexType)
public void remove (org.h2.engine.Session)
public void truncate (org.h2.engine.Session)
public java.lang.String getCreateSQL ()
public void close (org.h2.engine.Session)
public org.h2.result.Row getRow (org.h2.engine.Session, long)
public void add (org.h2.engine.Session, org.h2.result.Row)
public void commit (int, org.h2.result.Row)
private void incrementRowCount (int, int)
public void remove (org.h2.engine.Session, org.h2.result.Row)
public org.h2.index.Cursor find (org.h2.engine.Session, org.h2.result.SearchRow, org.h2.result.SearchRow)
public double getCost (org.h2.engine.Session, int[])
public long getRowCount (org.h2.engine.Session)
org.h2.result.Row getNextRow (org.h2.engine.Session, org.h2.result.Row)
public int getColumnIndex (org.h2.table.Column)
public void checkRename ()
public boolean needRebuild ()
public boolean canGetFirstOrLast ()
public org.h2.index.Cursor findFirstOrLast (org.h2.engine.Session, boolean)
java.util.Iterator getDelta ()
public long getRowCountApproximation ()
public java.lang.String getPlanSQL ()
}
org/h2/index/SingleRowCursor.classSingleRowCursor.java
package org.h2.index
public org.h2.index.SingleRowCursor extends java.lang.Object implements org.h2.index.Cursor {
private org.h2.result.Row row
private boolean end
public void (org.h2.result.Row)
public org.h2.result.Row get ()
public org.h2.result.SearchRow getSearchRow ()
public boolean next ()
public boolean previous ()
}
org/h2/index/TreeCursor.classTreeCursor.java
package org.h2.index
public org.h2.index.TreeCursor extends java.lang.Object implements org.h2.index.Cursor {
private org.h2.index.TreeIndex tree
private org.h2.index.TreeNode node
private boolean beforeFirst
private org.h2.result.SearchRow first
private org.h2.result.SearchRow last
void (org.h2.index.TreeIndex, org.h2.index.TreeNode, org.h2.result.SearchRow, org.h2.result.SearchRow)
public org.h2.result.Row get ()
public org.h2.result.SearchRow getSearchRow ()
public boolean next ()
public boolean previous ()
}
org/h2/index/TreeIndex.classTreeIndex.java
package org.h2.index
public org.h2.index.TreeIndex extends org.h2.index.BaseIndex {
private org.h2.index.TreeNode root
private org.h2.table.RegularTable tableData
private long rowCount
public void (org.h2.table.RegularTable, int, java.lang.String, org.h2.table.IndexColumn[], org.h2.index.IndexType)
public void close (org.h2.engine.Session)
public void add (org.h2.engine.Session, org.h2.result.Row)
private void balance (org.h2.index.TreeNode, boolean)
private org.h2.index.TreeNode child (org.h2.index.TreeNode, boolean)
private void replace (org.h2.index.TreeNode, org.h2.index.TreeNode)
private void set (org.h2.index.TreeNode, boolean, org.h2.index.TreeNode)
public void remove (org.h2.engine.Session, org.h2.result.Row)
private org.h2.index.TreeNode findFirstNode (org.h2.result.SearchRow, boolean)
public org.h2.index.Cursor find (org.h2.engine.Session, org.h2.result.SearchRow, org.h2.result.SearchRow)
public double getCost (org.h2.engine.Session, int[])
public void remove (org.h2.engine.Session)
public void truncate (org.h2.engine.Session)
org.h2.index.TreeNode next (org.h2.index.TreeNode)
org.h2.index.TreeNode previous (org.h2.index.TreeNode)
public void checkRename ()
public boolean needRebuild ()
public boolean canGetFirstOrLast ()
public org.h2.index.Cursor findFirstOrLast (org.h2.engine.Session, boolean)
public long getRowCount (org.h2.engine.Session)
public long getRowCountApproximation ()
}
org/h2/index/TreeNode.classTreeNode.java
package org.h2.index
org.h2.index.TreeNode extends java.lang.Object {
int balance
org.h2.index.TreeNode left
org.h2.index.TreeNode right
org.h2.index.TreeNode parent
org.h2.result.Row row
void (org.h2.result.Row)
boolean isFromLeft ()
}
org/h2/index/ViewCursor.classViewCursor.java
package org.h2.index
public org.h2.index.ViewCursor extends java.lang.Object implements org.h2.index.Cursor {
private org.h2.table.Table table
private org.h2.result.ResultInterface result
private org.h2.result.Row current
void (org.h2.table.Table, org.h2.result.ResultInterface)
public org.h2.result.Row get ()
public org.h2.result.SearchRow getSearchRow ()
public boolean next ()
public boolean previous ()
}
org/h2/index/ViewIndex$CostElement.classViewIndex.java
package org.h2.index
org.h2.index.ViewIndex$CostElement extends java.lang.Object {
long evaluatedAt
double cost
void ()
}
org/h2/index/ViewIndex.classViewIndex.java
package org.h2.index
public org.h2.index.ViewIndex extends org.h2.index.BaseIndex {
private final org.h2.table.TableView view
private final String querySQL
private final java.util.ArrayList originalParameters
private final org.h2.util.SmallLRUCache costCache
private boolean recursive
private int[] indexMasks
private String planSQL
private org.h2.command.dml.Query query
private org.h2.engine.Session createSession
public void (org.h2.table.TableView, java.lang.String, java.util.ArrayList, boolean)
public void (org.h2.table.TableView, org.h2.index.ViewIndex, org.h2.engine.Session, int[])
public org.h2.engine.Session getSession ()
public java.lang.String getPlanSQL ()
public void close (org.h2.engine.Session)
public void add (org.h2.engine.Session, org.h2.result.Row)
public void remove (org.h2.engine.Session, org.h2.result.Row)
public double getCost (org.h2.engine.Session, int[])
public org.h2.index.Cursor find (org.h2.engine.Session, org.h2.result.SearchRow, org.h2.result.SearchRow)
private void setParameter (java.util.ArrayList, int, org.h2.value.Value)
private org.h2.command.dml.Query getQuery (org.h2.engine.Session, int[])
public void remove (org.h2.engine.Session)
public void truncate (org.h2.engine.Session)
public void checkRename ()
public boolean needRebuild ()
public boolean canGetFirstOrLast ()
public org.h2.index.Cursor findFirstOrLast (org.h2.engine.Session, boolean)
public void setRecursive (boolean)
public long getRowCount (org.h2.engine.Session)
public long getRowCountApproximation ()
public boolean isRecursive ()
}
org/h2/jdbc/JdbcArray.classJdbcArray.java
package org.h2.jdbc
public org.h2.jdbc.JdbcArray extends org.h2.message.TraceObject implements java.sql.Array {
private org.h2.value.Value value
private org.h2.jdbc.JdbcConnection conn
void (org.h2.jdbc.JdbcConnection, org.h2.value.Value, int)
public java.lang.Object getArray () throws java.sql.SQLException
public java.lang.Object getArray (java.util.Map) throws java.sql.SQLException
public java.lang.Object getArray (long, int) throws java.sql.SQLException
public java.lang.Object getArray (long, int, java.util.Map) throws java.sql.SQLException
public int getBaseType () throws java.sql.SQLException
public java.lang.String getBaseTypeName () throws java.sql.SQLException
public java.sql.ResultSet getResultSet () throws java.sql.SQLException
public java.sql.ResultSet getResultSet (java.util.Map) throws java.sql.SQLException
public java.sql.ResultSet getResultSet (long, int) throws java.sql.SQLException
public java.sql.ResultSet getResultSet (long, int, java.util.Map) throws java.sql.SQLException
public void free ()
private java.sql.ResultSet getResultSet (java.lang.Object[], long)
private void checkClosed () throws java.sql.SQLException
private java.lang.Object[] get ()
private java.lang.Object[] get (long, int)
private void checkMap (java.util.Map)
public java.lang.String toString ()
}
org/h2/jdbc/JdbcBatchUpdateException.classJdbcBatchUpdateException.java
package org.h2.jdbc
public org.h2.jdbc.JdbcBatchUpdateException extends java.sql.BatchUpdateException {
private static final long serialVersionUID
void (java.sql.SQLException, int[])
public void printStackTrace ()
public void printStackTrace (java.io.PrintWriter)
public void printStackTrace (java.io.PrintStream)
}
org/h2/jdbc/JdbcBlob$1.classJdbcBlob.java
package org.h2.jdbc
org.h2.jdbc.JdbcBlob$1 extends org.h2.util.Task {
final synthetic org.h2.jdbc.JdbcConnection val$c
final synthetic java.io.PipedInputStream val$in
final synthetic org.h2.jdbc.JdbcBlob this$0
void (org.h2.jdbc.JdbcBlob, org.h2.jdbc.JdbcConnection, java.io.PipedInputStream)
public void call ()
}
org/h2/jdbc/JdbcBlob$2.classJdbcBlob.java
package org.h2.jdbc
org.h2.jdbc.JdbcBlob$2 extends java.io.PipedOutputStream {
final synthetic org.h2.util.Task val$task
final synthetic org.h2.jdbc.JdbcBlob this$0
void (org.h2.jdbc.JdbcBlob, java.io.PipedInputStream, org.h2.util.Task) throws java.io.IOException
public void close () throws java.io.IOException
}
org/h2/jdbc/JdbcBlob.classJdbcBlob.java
package org.h2.jdbc
public org.h2.jdbc.JdbcBlob extends org.h2.message.TraceObject implements java.sql.Blob {
org.h2.value.Value value
private org.h2.jdbc.JdbcConnection conn
public void (org.h2.jdbc.JdbcConnection, org.h2.value.Value, int)
public long length () throws java.sql.SQLException
public void truncate (long) throws java.sql.SQLException
public byte[] getBytes (long, int) throws java.sql.SQLException
public int setBytes (long, byte[]) throws java.sql.SQLException
public int setBytes (long, byte[], int, int) throws java.sql.SQLException
public java.io.InputStream getBinaryStream () throws java.sql.SQLException
public java.io.OutputStream setBinaryStream (long) throws java.sql.SQLException
public long position (byte[], long) throws java.sql.SQLException
public long position (java.sql.Blob, long) throws java.sql.SQLException
public void free ()
public java.io.InputStream getBinaryStream (long, long) throws java.sql.SQLException
private void checkClosed () throws java.sql.SQLException
public java.lang.String toString ()
}
org/h2/jdbc/JdbcCallableStatement.classJdbcCallableStatement.java
package org.h2.jdbc
public org.h2.jdbc.JdbcCallableStatement extends org.h2.jdbc.JdbcPreparedStatement implements java.sql.CallableStatement {
private org.h2.util.BitField outParameters
private int maxOutParameters
private java.util.HashMap namedParameters
void (org.h2.jdbc.JdbcConnection, java.lang.String, int, int, int)
public boolean execute () throws java.sql.SQLException
public int executeUpdate () throws java.sql.SQLException
public void registerOutParameter (int, int) throws java.sql.SQLException
public void registerOutParameter (int, int, java.lang.String) throws java.sql.SQLException
public void registerOutParameter (int, int, int) throws java.sql.SQLException
public void registerOutParameter (java.lang.String, int, java.lang.String) throws java.sql.SQLException
public void registerOutParameter (java.lang.String, int, int) throws java.sql.SQLException
public void registerOutParameter (java.lang.String, int) throws java.sql.SQLException
public boolean wasNull () throws java.sql.SQLException
public java.net.URL getURL (int) throws java.sql.SQLException
public java.lang.String getString (int) throws java.sql.SQLException
public boolean getBoolean (int) throws java.sql.SQLException
public byte getByte (int) throws java.sql.SQLException
public short getShort (int) throws java.sql.SQLException
public int getInt (int) throws java.sql.SQLException
public long getLong (int) throws java.sql.SQLException
public float getFloat (int) throws java.sql.SQLException
public double getDouble (int) throws java.sql.SQLException
public java.math.BigDecimal getBigDecimal (int, int) throws java.sql.SQLException
public byte[] getBytes (int) throws java.sql.SQLException
public java.sql.Date getDate (int) throws java.sql.SQLException
public java.sql.Time getTime (int) throws java.sql.SQLException
public java.sql.Timestamp getTimestamp (int) throws java.sql.SQLException
public java.lang.Object getObject (int) throws java.sql.SQLException
public java.math.BigDecimal getBigDecimal (int) throws java.sql.SQLException
public java.lang.Object getObject (int, java.util.Map) throws java.sql.SQLException
public java.sql.Ref getRef (int) throws java.sql.SQLException
public java.sql.Blob getBlob (int) throws java.sql.SQLException
public java.sql.Clob getClob (int) throws java.sql.SQLException
public java.sql.Array getArray (int) throws java.sql.SQLException
public java.sql.Date getDate (int, java.util.Calendar) throws java.sql.SQLException
public java.sql.Time getTime (int, java.util.Calendar) throws java.sql.SQLException
public java.sql.Timestamp getTimestamp (int, java.util.Calendar) throws java.sql.SQLException
public java.net.URL getURL (java.lang.String) throws java.sql.SQLException
public java.sql.Timestamp getTimestamp (java.lang.String, java.util.Calendar) throws java.sql.SQLException
public java.sql.Time getTime (java.lang.String, java.util.Calendar) throws java.sql.SQLException
public java.sql.Date getDate (java.lang.String, java.util.Calendar) throws java.sql.SQLException
public java.sql.Array getArray (java.lang.String) throws java.sql.SQLException
public java.sql.Clob getClob (java.lang.String) throws java.sql.SQLException
public java.sql.Blob getBlob (java.lang.String) throws java.sql.SQLException
public java.sql.Ref getRef (java.lang.String) throws java.sql.SQLException
public java.lang.Object getObject (java.lang.String, java.util.Map) throws java.sql.SQLException
public java.math.BigDecimal getBigDecimal (java.lang.String) throws java.sql.SQLException
public java.lang.Object getObject (java.lang.String) throws java.sql.SQLException
public java.sql.Timestamp getTimestamp (java.lang.String) throws java.sql.SQLException
public java.sql.Time getTime (java.lang.String) throws java.sql.SQLException
public java.sql.Date getDate (java.lang.String) throws java.sql.SQLException
public byte[] getBytes (java.lang.String) throws java.sql.SQLException
public double getDouble (java.lang.String) throws java.sql.SQLException
public float getFloat (java.lang.String) throws java.sql.SQLException
public long getLong (java.lang.String) throws java.sql.SQLException
public int getInt (java.lang.String) throws java.sql.SQLException
public short getShort (java.lang.String) throws java.sql.SQLException
public byte getByte (java.lang.String) throws java.sql.SQLException
public boolean getBoolean (java.lang.String) throws java.sql.SQLException
public java.lang.String getString (java.lang.String) throws java.sql.SQLException
public void setNull (java.lang.String, int, java.lang.String) throws java.sql.SQLException
public void setNull (java.lang.String, int) throws java.sql.SQLException
public void setTimestamp (java.lang.String, java.sql.Timestamp, java.util.Calendar) throws java.sql.SQLException
public void setTime (java.lang.String, java.sql.Time, java.util.Calendar) throws java.sql.SQLException
public void setDate (java.lang.String, java.sql.Date, java.util.Calendar) throws java.sql.SQLException
public void setCharacterStream (java.lang.String, java.io.Reader, int) throws java.sql.SQLException
public void setObject (java.lang.String, java.lang.Object) throws java.sql.SQLException
public void setObject (java.lang.String, java.lang.Object, int) throws java.sql.SQLException
public void setObject (java.lang.String, java.lang.Object, int, int) throws java.sql.SQLException
public void setBinaryStream (java.lang.String, java.io.InputStream, int) throws java.sql.SQLException
public void setAsciiStream (java.lang.String, java.io.InputStream, long) throws java.sql.SQLException
public void setTimestamp (java.lang.String, java.sql.Timestamp) throws java.sql.SQLException
public void setTime (java.lang.String, java.sql.Time) throws java.sql.SQLException
public void setDate (java.lang.String, java.sql.Date) throws java.sql.SQLException
public void setBytes (java.lang.String, byte[]) throws java.sql.SQLException
public void setString (java.lang.String, java.lang.String) throws java.sql.SQLException
public void setBigDecimal (java.lang.String, java.math.BigDecimal) throws java.sql.SQLException
public void setDouble (java.lang.String, double) throws java.sql.SQLException
public void setFloat (java.lang.String, float) throws java.sql.SQLException
public void setLong (java.lang.String, long) throws java.sql.SQLException
public void setInt (java.lang.String, int) throws java.sql.SQLException
public void setShort (java.lang.String, short) throws java.sql.SQLException
public void setByte (java.lang.String, byte) throws java.sql.SQLException
public void setBoolean (java.lang.String, boolean) throws java.sql.SQLException
public void setURL (java.lang.String, java.net.URL) throws java.sql.SQLException
public void setAsciiStream (java.lang.String, java.io.InputStream, int) throws java.sql.SQLException
private java.sql.ResultSetMetaData getCheckedMetaData () throws java.sql.SQLException
private void checkIndexBounds (int) throws java.sql.SQLException
private void registerOutParameter (int) throws java.sql.SQLException
private void checkRegistered (int) throws java.sql.SQLException
private int getIndexForName (java.lang.String) throws java.sql.SQLException
private org.h2.jdbc.JdbcResultSet getOpenResultSet () throws java.sql.SQLException
}
org/h2/jdbc/JdbcClob$1.classJdbcClob.java
package org.h2.jdbc
org.h2.jdbc.JdbcClob$1 extends org.h2.util.Task {
final synthetic org.h2.jdbc.JdbcConnection val$c
final synthetic java.io.PipedInputStream val$in
final synthetic org.h2.jdbc.JdbcClob this$0
void (org.h2.jdbc.JdbcClob, org.h2.jdbc.JdbcConnection, java.io.PipedInputStream)
public void call ()
}
org/h2/jdbc/JdbcClob$2.classJdbcClob.java
package org.h2.jdbc
org.h2.jdbc.JdbcClob$2 extends java.io.PipedOutputStream {
final synthetic org.h2.util.Task val$task
final synthetic org.h2.jdbc.JdbcClob this$0
void (org.h2.jdbc.JdbcClob, java.io.PipedInputStream, org.h2.util.Task) throws java.io.IOException
public void close () throws java.io.IOException
}
org/h2/jdbc/JdbcClob.classJdbcClob.java
package org.h2.jdbc
public org.h2.jdbc.JdbcClob extends org.h2.message.TraceObject implements java.sql.Clob {
org.h2.value.Value value
private org.h2.jdbc.JdbcConnection conn
public void (org.h2.jdbc.JdbcConnection, org.h2.value.Value, int)
public long length () throws java.sql.SQLException
public void truncate (long) throws java.sql.SQLException
public java.io.InputStream getAsciiStream () throws java.sql.SQLException
public java.io.OutputStream setAsciiStream (long) throws java.sql.SQLException
public java.io.Reader getCharacterStream () throws java.sql.SQLException
public java.io.Writer setCharacterStream (long) throws java.sql.SQLException
public java.lang.String getSubString (long, int) throws java.sql.SQLException
public int setString (long, java.lang.String) throws java.sql.SQLException
public int setString (long, java.lang.String, int, int) throws java.sql.SQLException
public long position (java.lang.String, long) throws java.sql.SQLException
public long position (java.sql.Clob, long) throws java.sql.SQLException
public void free ()
private void checkClosed () throws java.sql.SQLException
public java.lang.String toString ()
}
org/h2/jdbc/JdbcConnection.classJdbcConnection.java
package org.h2.jdbc
public org.h2.jdbc.JdbcConnection extends org.h2.message.TraceObject implements java.sql.Connection {
protected Exception openStackTrace
private String url
private String user
private int holdability
private org.h2.engine.SessionInterface session
private org.h2.command.CommandInterface commit
private org.h2.command.CommandInterface rollback
private org.h2.command.CommandInterface getReadOnly
private org.h2.command.CommandInterface getGeneratedKeys
private org.h2.command.CommandInterface setLockMode
private org.h2.command.CommandInterface getLockMode
private org.h2.command.CommandInterface setQueryTimeout
private org.h2.command.CommandInterface getQueryTimeout
private int savepointId
private org.h2.message.Trace trace
private boolean isInternal
private String catalog
private java.sql.Statement executingStatement
private org.h2.value.CompareMode compareMode
public void (java.lang.String, java.util.Properties) throws java.sql.SQLException
public void (org.h2.engine.ConnectionInfo, boolean) throws java.sql.SQLException
public void (org.h2.jdbc.JdbcConnection)
public void (org.h2.engine.SessionInterface, java.lang.String, java.lang.String)
public java.sql.Statement createStatement () throws java.sql.SQLException
public java.sql.Statement createStatement (int, int) throws java.sql.SQLException
public java.sql.Statement createStatement (int, int, int) throws java.sql.SQLException
public java.sql.PreparedStatement prepareStatement (java.lang.String) throws java.sql.SQLException
java.sql.PreparedStatement prepareAutoCloseStatement (java.lang.String) throws java.sql.SQLException
public java.sql.DatabaseMetaData getMetaData () throws java.sql.SQLException
public org.h2.engine.SessionInterface getSession ()
public synchronized void close () throws java.sql.SQLException
private void closePreparedCommands ()
private org.h2.command.CommandInterface closeAndSetNull (org.h2.command.CommandInterface)
public synchronized void setAutoCommit (boolean) throws java.sql.SQLException
public synchronized boolean getAutoCommit () throws java.sql.SQLException
public synchronized void commit () throws java.sql.SQLException
public synchronized void rollback () throws java.sql.SQLException
public boolean isClosed () throws java.sql.SQLException
public java.lang.String nativeSQL (java.lang.String) throws java.sql.SQLException
public void setReadOnly (boolean) throws java.sql.SQLException
public boolean isReadOnly () throws java.sql.SQLException
public void setCatalog (java.lang.String) throws java.sql.SQLException
public java.lang.String getCatalog () throws java.sql.SQLException
public java.sql.SQLWarning getWarnings () throws java.sql.SQLException
public void clearWarnings () throws java.sql.SQLException
public java.sql.PreparedStatement prepareStatement (java.lang.String, int, int) throws java.sql.SQLException
public void setTransactionIsolation (int) throws java.sql.SQLException
public void setQueryTimeout (int) throws java.sql.SQLException
public int getQueryTimeout () throws java.sql.SQLException
public int getTransactionIsolation () throws java.sql.SQLException
public void setHoldability (int) throws java.sql.SQLException
public int getHoldability () throws java.sql.SQLException
public java.util.Map getTypeMap () throws java.sql.SQLException
public void setTypeMap (java.util.Map) throws java.sql.SQLException
public java.sql.CallableStatement prepareCall (java.lang.String) throws java.sql.SQLException
public java.sql.CallableStatement prepareCall (java.lang.String, int, int) throws java.sql.SQLException
public java.sql.CallableStatement prepareCall (java.lang.String, int, int, int) throws java.sql.SQLException
public java.sql.Savepoint setSavepoint () throws java.sql.SQLException
public java.sql.Savepoint setSavepoint (java.lang.String) throws java.sql.SQLException
public void rollback (java.sql.Savepoint) throws java.sql.SQLException
public void releaseSavepoint (java.sql.Savepoint) throws java.sql.SQLException
private org.h2.jdbc.JdbcSavepoint convertSavepoint (java.sql.Savepoint)
public java.sql.PreparedStatement prepareStatement (java.lang.String, int, int, int) throws java.sql.SQLException
public java.sql.PreparedStatement prepareStatement (java.lang.String, int) throws java.sql.SQLException
public java.sql.PreparedStatement prepareStatement (java.lang.String, int[]) throws java.sql.SQLException
public java.sql.PreparedStatement prepareStatement (java.lang.String, java.lang.String[]) throws java.sql.SQLException
private void checkJavaVersion ()
org.h2.command.CommandInterface prepareCommand (java.lang.String, int)
private org.h2.command.CommandInterface prepareCommand (java.lang.String, org.h2.command.CommandInterface)
private int translateGetEnd (java.lang.String, int, char)
private java.lang.String translateSQL (java.lang.String)
java.lang.String translateSQL (java.lang.String, boolean)
private void checkRunOver (int, int, java.lang.String)
private boolean found (java.lang.String, int, java.lang.String)
private void checkTypeConcurrency (int, int)
private void checkHoldability (int)
protected void checkClosed () throws java.sql.SQLException
private void checkClosedForWrite () throws java.sql.SQLException
protected void checkClosed (boolean) throws java.sql.SQLException
protected void afterWriting ()
java.lang.String getURL () throws java.sql.SQLException
java.lang.String getUser () throws java.sql.SQLException
protected void finalize ()
private void rollbackInternal ()
public int getPowerOffCount ()
public void setPowerOffCount (int)
public void setExecutingStatement (java.sql.Statement)
java.sql.ResultSet getGeneratedKeys (org.h2.jdbc.JdbcStatement, int)
public java.sql.Clob createClob () throws java.sql.SQLException
public java.sql.Blob createBlob () throws java.sql.SQLException
public synchronized boolean isValid (int)
public org.h2.value.Value createClob (java.io.Reader, long)
public org.h2.value.Value createBlob (java.io.InputStream, long)
private void checkMap (java.util.Map)
public java.lang.String toString ()
java.lang.Object convertToDefaultObject (org.h2.value.Value)
org.h2.value.CompareMode getCompareMode ()
public void setTraceLevel (int)
}
org/h2/jdbc/JdbcDatabaseMetaData.classJdbcDatabaseMetaData.java
package org.h2.jdbc
public org.h2.jdbc.JdbcDatabaseMetaData extends org.h2.message.TraceObject implements java.sql.DatabaseMetaData {
private org.h2.jdbc.JdbcConnection conn
void (org.h2.jdbc.JdbcConnection, org.h2.message.Trace, int)
public int getDriverMajorVersion ()
public int getDriverMinorVersion ()
public java.lang.String getDatabaseProductName ()
public java.lang.String getDatabaseProductVersion ()
public java.lang.String getDriverName ()
public java.lang.String getDriverVersion ()
public java.sql.ResultSet getTables (java.lang.String, java.lang.String, java.lang.String, java.lang.String[]) throws java.sql.SQLException
public java.sql.ResultSet getColumns (java.lang.String, java.lang.String, java.lang.String, java.lang.String) throws java.sql.SQLException
public java.sql.ResultSet getIndexInfo (java.lang.String, java.lang.String, java.lang.String, boolean, boolean) throws java.sql.SQLException
public java.sql.ResultSet getPrimaryKeys (java.lang.String, java.lang.String, java.lang.String) throws java.sql.SQLException
public boolean allProceduresAreCallable ()
public boolean allTablesAreSelectable ()
public java.lang.String getURL () throws java.sql.SQLException
public java.lang.String getUserName () throws java.sql.SQLException
public boolean isReadOnly () throws java.sql.SQLException
public boolean nullsAreSortedHigh ()
public boolean nullsAreSortedLow ()
public boolean nullsAreSortedAtStart ()
public boolean nullsAreSortedAtEnd ()
public java.sql.Connection getConnection ()
public java.sql.ResultSet getProcedures (java.lang.String, java.lang.String, java.lang.String) throws java.sql.SQLException
public java.sql.ResultSet getProcedureColumns (java.lang.String, java.lang.String, java.lang.String, java.lang.String) throws java.sql.SQLException
public java.sql.ResultSet getSchemas () throws java.sql.SQLException
public java.sql.ResultSet getCatalogs () throws java.sql.SQLException
public java.sql.ResultSet getTableTypes () throws java.sql.SQLException
public java.sql.ResultSet getColumnPrivileges (java.lang.String, java.lang.String, java.lang.String, java.lang.String) throws java.sql.SQLException
public java.sql.ResultSet getTablePrivileges (java.lang.String, java.lang.String, java.lang.String) throws java.sql.SQLException
public java.sql.ResultSet getBestRowIdentifier (java.lang.String, java.lang.String, java.lang.String, int, boolean) throws java.sql.SQLException
public java.sql.ResultSet getVersionColumns (java.lang.String, java.lang.String, java.lang.String) throws java.sql.SQLException
public java.sql.ResultSet getImportedKeys (java.lang.String, java.lang.String, java.lang.String) throws java.sql.SQLException
public java.sql.ResultSet getExportedKeys (java.lang.String, java.lang.String, java.lang.String) throws java.sql.SQLException
public java.sql.ResultSet getCrossReference (java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String) throws java.sql.SQLException
public java.sql.ResultSet getUDTs (java.lang.String, java.lang.String, java.lang.String, int[]) throws java.sql.SQLException
public java.sql.ResultSet getTypeInfo () throws java.sql.SQLException
public boolean usesLocalFiles ()
public boolean usesLocalFilePerTable ()
public java.lang.String getIdentifierQuoteString ()
public java.lang.String getSQLKeywords ()
public java.lang.String getNumericFunctions () throws java.sql.SQLException
public java.lang.String getStringFunctions () throws java.sql.SQLException
public java.lang.String getSystemFunctions () throws java.sql.SQLException
public java.lang.String getTimeDateFunctions () throws java.sql.SQLException
private java.lang.String getFunctions (java.lang.String) throws java.sql.SQLException
public java.lang.String getSearchStringEscape ()
public java.lang.String getExtraNameCharacters ()
public boolean supportsAlterTableWithAddColumn ()
public boolean supportsAlterTableWithDropColumn ()
public boolean supportsColumnAliasing ()
public boolean nullPlusNonNullIsNull ()
public boolean supportsConvert ()
public boolean supportsConvert (int, int)
public boolean supportsTableCorrelationNames ()
public boolean supportsDifferentTableCorrelationNames ()
public boolean supportsExpressionsInOrderBy ()
public boolean supportsOrderByUnrelated ()
public boolean supportsGroupBy ()
public boolean supportsGroupByUnrelated ()
public boolean supportsGroupByBeyondSelect ()
public boolean supportsLikeEscapeClause ()
public boolean supportsMultipleResultSets ()
public boolean supportsMultipleTransactions ()
public boolean supportsNonNullableColumns ()
public boolean supportsMinimumSQLGrammar ()
public boolean supportsCoreSQLGrammar ()
public boolean supportsExtendedSQLGrammar ()
public boolean supportsANSI92EntryLevelSQL ()
public boolean supportsANSI92IntermediateSQL ()
public boolean supportsANSI92FullSQL ()
public boolean supportsIntegrityEnhancementFacility ()
public boolean supportsOuterJoins ()
public boolean supportsFullOuterJoins ()
public boolean supportsLimitedOuterJoins ()
public java.lang.String getSchemaTerm ()
public java.lang.String getProcedureTerm ()
public java.lang.String getCatalogTerm ()
public boolean isCatalogAtStart ()
public java.lang.String getCatalogSeparator ()
public boolean supportsSchemasInDataManipulation ()
public boolean supportsSchemasInProcedureCalls ()
public boolean supportsSchemasInTableDefinitions ()
public boolean supportsSchemasInIndexDefinitions ()
public boolean supportsSchemasInPrivilegeDefinitions ()
public boolean supportsCatalogsInDataManipulation ()
public boolean supportsCatalogsInProcedureCalls ()
public boolean supportsCatalogsInTableDefinitions ()
public boolean supportsCatalogsInIndexDefinitions ()
public boolean supportsCatalogsInPrivilegeDefinitions ()
public boolean supportsPositionedDelete ()
public boolean supportsPositionedUpdate ()
public boolean supportsSelectForUpdate ()
public boolean supportsStoredProcedures ()
public boolean supportsSubqueriesInComparisons ()
public boolean supportsSubqueriesInExists ()
public boolean supportsSubqueriesInIns ()
public boolean supportsSubqueriesInQuantifieds ()
public boolean supportsCorrelatedSubqueries ()
public boolean supportsUnion ()
public boolean supportsUnionAll ()
public boolean supportsOpenCursorsAcrossCommit ()
public boolean supportsOpenCursorsAcrossRollback ()
public boolean supportsOpenStatementsAcrossCommit ()
public boolean supportsOpenStatementsAcrossRollback ()
public boolean supportsTransactions ()
public boolean supportsTransactionIsolationLevel (int)
public boolean supportsDataDefinitionAndDataManipulationTransactions ()
public boolean supportsDataManipulationTransactionsOnly ()
public boolean dataDefinitionCausesTransactionCommit ()
public boolean dataDefinitionIgnoredInTransactions ()
public boolean supportsResultSetType (int)
public boolean supportsResultSetConcurrency (int, int)
public boolean ownUpdatesAreVisible (int)
public boolean ownDeletesAreVisible (int)
public boolean ownInsertsAreVisible (int)
public boolean othersUpdatesAreVisible (int)
public boolean othersDeletesAreVisible (int)
public boolean othersInsertsAreVisible (int)
public boolean updatesAreDetected (int)
public boolean deletesAreDetected (int)
public boolean insertsAreDetected (int)
public boolean supportsBatchUpdates ()
public boolean doesMaxRowSizeIncludeBlobs ()
public int getDefaultTransactionIsolation ()
public boolean supportsMixedCaseIdentifiers ()
public boolean supportsMixedCaseQuotedIdentifiers ()
public boolean storesUpperCaseIdentifiers ()
public boolean storesLowerCaseIdentifiers ()
public boolean storesMixedCaseIdentifiers ()
public boolean storesUpperCaseQuotedIdentifiers ()
public boolean storesLowerCaseQuotedIdentifiers ()
public boolean storesMixedCaseQuotedIdentifiers ()
public int getMaxBinaryLiteralLength ()
public int getMaxCharLiteralLength ()
public int getMaxColumnNameLength ()
public int getMaxColumnsInGroupBy ()
public int getMaxColumnsInIndex ()
public int getMaxColumnsInOrderBy ()
public int getMaxColumnsInSelect ()
public int getMaxColumnsInTable ()
public int getMaxConnections ()
public int getMaxCursorNameLength ()
public int getMaxIndexLength ()
public int getMaxSchemaNameLength ()
public int getMaxProcedureNameLength ()
public int getMaxCatalogNameLength ()
public int getMaxRowSize ()
public int getMaxStatementLength ()
public int getMaxStatements ()
public int getMaxTableNameLength ()
public int getMaxTablesInSelect ()
public int getMaxUserNameLength ()
public boolean supportsSavepoints ()
public boolean supportsNamedParameters ()
public boolean supportsMultipleOpenResults ()
public boolean supportsGetGeneratedKeys ()
public java.sql.ResultSet getSuperTypes (java.lang.String, java.lang.String, java.lang.String) throws java.sql.SQLException
public java.sql.ResultSet getSuperTables (java.lang.String, java.lang.String, java.lang.String) throws java.sql.SQLException
public java.sql.ResultSet getAttributes (java.lang.String, java.lang.String, java.lang.String, java.lang.String) throws java.sql.SQLException
public boolean supportsResultSetHoldability (int)
public int getResultSetHoldability ()
public int getDatabaseMajorVersion ()
public int getDatabaseMinorVersion ()
public int getJDBCMajorVersion ()
public int getJDBCMinorVersion ()
public int getSQLStateType ()
public boolean locatorsUpdateCopy ()
public boolean supportsStatementPooling ()
private void checkClosed () throws java.sql.SQLException
private java.lang.String getPattern (java.lang.String)
private java.lang.String getSchemaPattern (java.lang.String)
private java.lang.String getCatalogPattern (java.lang.String)
public boolean supportsStoredFunctionsUsingCallSyntax ()
public boolean autoCommitFailureClosesAllResultSets ()
public java.sql.ResultSet getClientInfoProperties () throws java.sql.SQLException
public java.lang.String toString ()
}
org/h2/jdbc/JdbcParameterMetaData.classJdbcParameterMetaData.java
package org.h2.jdbc
public org.h2.jdbc.JdbcParameterMetaData extends org.h2.message.TraceObject implements java.sql.ParameterMetaData {
private org.h2.jdbc.JdbcPreparedStatement prep
private int paramCount
private java.util.ArrayList parameters
void (org.h2.message.Trace, org.h2.jdbc.JdbcPreparedStatement, org.h2.command.CommandInterface, int)
public int getParameterCount () throws java.sql.SQLException
public int getParameterMode (int) throws java.sql.SQLException
public int getParameterType (int) throws java.sql.SQLException
public int getPrecision (int) throws java.sql.SQLException
public int getScale (int) throws java.sql.SQLException
public int isNullable (int) throws java.sql.SQLException
public boolean isSigned (int) throws java.sql.SQLException
public java.lang.String getParameterClassName (int) throws java.sql.SQLException
public java.lang.String getParameterTypeName (int) throws java.sql.SQLException
private org.h2.expression.ParameterInterface getParameter (int) throws java.sql.SQLException
private void checkClosed () throws java.sql.SQLException
public java.lang.String toString ()
}
org/h2/jdbc/JdbcPreparedStatement.classJdbcPreparedStatement.java
package org.h2.jdbc
public org.h2.jdbc.JdbcPreparedStatement extends org.h2.jdbc.JdbcStatement implements java.sql.PreparedStatement {
protected org.h2.command.CommandInterface command
private final String sqlStatement
private java.util.ArrayList batchParameters
void (org.h2.jdbc.JdbcConnection, java.lang.String, int, int, int, boolean)
public java.sql.ResultSet executeQuery () throws java.sql.SQLException
public int executeUpdate () throws java.sql.SQLException
private int executeUpdateInternal () throws java.sql.SQLException
public boolean execute () throws java.sql.SQLException
public void clearParameters () throws java.sql.SQLException
public java.sql.ResultSet executeQuery (java.lang.String) throws java.sql.SQLException
public void addBatch (java.lang.String) throws java.sql.SQLException
public int executeUpdate (java.lang.String) throws java.sql.SQLException
public boolean execute (java.lang.String) throws java.sql.SQLException
public void setNull (int, int) throws java.sql.SQLException
public void setInt (int, int) throws java.sql.SQLException
public void setString (int, java.lang.String) throws java.sql.SQLException
public void setBigDecimal (int, java.math.BigDecimal) throws java.sql.SQLException
public void setDate (int, java.sql.Date) throws java.sql.SQLException
public void setTime (int, java.sql.Time) throws java.sql.SQLException
public void setTimestamp (int, java.sql.Timestamp) throws java.sql.SQLException
public void setObject (int, java.lang.Object) throws java.sql.SQLException
public void setObject (int, java.lang.Object, int) throws java.sql.SQLException
public void setObject (int, java.lang.Object, int, int) throws java.sql.SQLException
public void setBoolean (int, boolean) throws java.sql.SQLException
public void setByte (int, byte) throws java.sql.SQLException
public void setShort (int, short) throws java.sql.SQLException
public void setLong (int, long) throws java.sql.SQLException
public void setFloat (int, float) throws java.sql.SQLException
public void setDouble (int, double) throws java.sql.SQLException
public void setRef (int, java.sql.Ref) throws java.sql.SQLException
public void setDate (int, java.sql.Date, java.util.Calendar) throws java.sql.SQLException
public void setTime (int, java.sql.Time, java.util.Calendar) throws java.sql.SQLException
public void setTimestamp (int, java.sql.Timestamp, java.util.Calendar) throws java.sql.SQLException
public void setUnicodeStream (int, java.io.InputStream, int) throws java.sql.SQLException
public void setNull (int, int, java.lang.String) throws java.sql.SQLException
public void setBlob (int, java.sql.Blob) throws java.sql.SQLException
public void setBlob (int, java.io.InputStream) throws java.sql.SQLException
public void setClob (int, java.sql.Clob) throws java.sql.SQLException
public void setClob (int, java.io.Reader) throws java.sql.SQLException
public void setArray (int, java.sql.Array) throws java.sql.SQLException
public void setBytes (int, byte[]) throws java.sql.SQLException
public void setBinaryStream (int, java.io.InputStream, long) throws java.sql.SQLException
public void setBinaryStream (int, java.io.InputStream, int) throws java.sql.SQLException
public void setBinaryStream (int, java.io.InputStream) throws java.sql.SQLException
public void setAsciiStream (int, java.io.InputStream, int) throws java.sql.SQLException
public void setAsciiStream (int, java.io.InputStream, long) throws java.sql.SQLException
public void setAsciiStream (int, java.io.InputStream) throws java.sql.SQLException
public void setCharacterStream (int, java.io.Reader, int) throws java.sql.SQLException
public void setCharacterStream (int, java.io.Reader) throws java.sql.SQLException
public void setCharacterStream (int, java.io.Reader, long) throws java.sql.SQLException
public void setURL (int, java.net.URL) throws java.sql.SQLException
public java.sql.ResultSetMetaData getMetaData () throws java.sql.SQLException
public void clearBatch () throws java.sql.SQLException
public void close () throws java.sql.SQLException
public int[] executeBatch () throws java.sql.SQLException
public void addBatch () throws java.sql.SQLException
public int executeUpdate (java.lang.String, int) throws java.sql.SQLException
public int executeUpdate (java.lang.String, int[]) throws java.sql.SQLException
public int executeUpdate (java.lang.String, java.lang.String[]) throws java.sql.SQLException
public boolean execute (java.lang.String, int) throws java.sql.SQLException
public boolean execute (java.lang.String, int[]) throws java.sql.SQLException
public boolean execute (java.lang.String, java.lang.String[]) throws java.sql.SQLException
public java.sql.ParameterMetaData getParameterMetaData () throws java.sql.SQLException
private void setParameter (int, org.h2.value.Value) throws java.sql.SQLException
public void setClob (int, java.io.Reader, long) throws java.sql.SQLException
public void setBlob (int, java.io.InputStream, long) throws java.sql.SQLException
public java.lang.String toString ()
protected boolean checkClosed (boolean) throws java.sql.SQLException
}
org/h2/jdbc/JdbcResultSet.classJdbcResultSet.java
package org.h2.jdbc
public org.h2.jdbc.JdbcResultSet extends org.h2.message.TraceObject implements java.sql.ResultSet {
private final boolean closeStatement
private final boolean scrollable
private final boolean updatable
private org.h2.result.ResultInterface result
private org.h2.jdbc.JdbcConnection conn
private org.h2.jdbc.JdbcStatement stat
private int columnCount
private boolean wasNull
private org.h2.value.Value[] insertRow
private org.h2.value.Value[] updateRow
private java.util.HashMap columnLabelMap
private java.util.HashMap patchedRows
void (org.h2.jdbc.JdbcConnection, org.h2.jdbc.JdbcStatement, org.h2.result.ResultInterface, int, boolean, boolean, boolean)
public boolean next () throws java.sql.SQLException
public java.sql.ResultSetMetaData getMetaData () throws java.sql.SQLException
public boolean wasNull () throws java.sql.SQLException
public int findColumn (java.lang.String) throws java.sql.SQLException
public void close () throws java.sql.SQLException
void closeInternal () throws java.sql.SQLException
public java.sql.Statement getStatement () throws java.sql.SQLException
public java.sql.SQLWarning getWarnings () throws java.sql.SQLException
public void clearWarnings () throws java.sql.SQLException
public java.lang.String getString (int) throws java.sql.SQLException
public java.lang.String getString (java.lang.String) throws java.sql.SQLException
public int getInt (int) throws java.sql.SQLException
public int getInt (java.lang.String) throws java.sql.SQLException
public java.math.BigDecimal getBigDecimal (int) throws java.sql.SQLException
public java.sql.Date getDate (int) throws java.sql.SQLException
public java.sql.Time getTime (int) throws java.sql.SQLException
public java.sql.Timestamp getTimestamp (int) throws java.sql.SQLException
public java.math.BigDecimal getBigDecimal (java.lang.String) throws java.sql.SQLException
public java.sql.Date getDate (java.lang.String) throws java.sql.SQLException
public java.sql.Time getTime (java.lang.String) throws java.sql.SQLException
public java.sql.Timestamp getTimestamp (java.lang.String) throws java.sql.SQLException
public java.lang.Object getObject (int) throws java.sql.SQLException
public java.lang.Object getObject (java.lang.String) throws java.sql.SQLException
public boolean getBoolean (int) throws java.sql.SQLException
public boolean getBoolean (java.lang.String) throws java.sql.SQLException
public byte getByte (int) throws java.sql.SQLException
public byte getByte (java.lang.String) throws java.sql.SQLException
public short getShort (int) throws java.sql.SQLException
public short getShort (java.lang.String) throws java.sql.SQLException
public long getLong (int) throws java.sql.SQLException
public long getLong (java.lang.String) throws java.sql.SQLException
public float getFloat (int) throws java.sql.SQLException
public float getFloat (java.lang.String) throws java.sql.SQLException
public double getDouble (int) throws java.sql.SQLException
public double getDouble (java.lang.String) throws java.sql.SQLException
public java.math.BigDecimal getBigDecimal (java.lang.String, int) throws java.sql.SQLException
public java.math.BigDecimal getBigDecimal (int, int) throws java.sql.SQLException
public java.io.InputStream getUnicodeStream (int) throws java.sql.SQLException
public java.io.InputStream getUnicodeStream (java.lang.String) throws java.sql.SQLException
public java.lang.Object getObject (int, java.util.Map) throws java.sql.SQLException
public java.lang.Object getObject (java.lang.String, java.util.Map) throws java.sql.SQLException
public java.sql.Ref getRef (int) throws java.sql.SQLException
public java.sql.Ref getRef (java.lang.String) throws java.sql.SQLException
public java.sql.Date getDate (int, java.util.Calendar) throws java.sql.SQLException
public java.sql.Date getDate (java.lang.String, java.util.Calendar) throws java.sql.SQLException
public java.sql.Time getTime (int, java.util.Calendar) throws java.sql.SQLException
public java.sql.Time getTime (java.lang.String, java.util.Calendar) throws java.sql.SQLException
public java.sql.Timestamp getTimestamp (int, java.util.Calendar) throws java.sql.SQLException
public java.sql.Timestamp getTimestamp (java.lang.String, java.util.Calendar) throws java.sql.SQLException
public java.sql.Blob getBlob (int) throws java.sql.SQLException
public java.sql.Blob getBlob (java.lang.String) throws java.sql.SQLException
public byte[] getBytes (int) throws java.sql.SQLException
public byte[] getBytes (java.lang.String) throws java.sql.SQLException
public java.io.InputStream getBinaryStream (int) throws java.sql.SQLException
public java.io.InputStream getBinaryStream (java.lang.String) throws java.sql.SQLException
public java.sql.Clob getClob (int) throws java.sql.SQLException
public java.sql.Clob getClob (java.lang.String) throws java.sql.SQLException
public java.sql.Array getArray (int) throws java.sql.SQLException
public java.sql.Array getArray (java.lang.String) throws java.sql.SQLException
public java.io.InputStream getAsciiStream (int) throws java.sql.SQLException
public java.io.InputStream getAsciiStream (java.lang.String) throws java.sql.SQLException
public java.io.Reader getCharacterStream (int) throws java.sql.SQLException
public java.io.Reader getCharacterStream (java.lang.String) throws java.sql.SQLException
public java.net.URL getURL (int) throws java.sql.SQLException
public java.net.URL getURL (java.lang.String) throws java.sql.SQLException
public void updateNull (int) throws java.sql.SQLException
public void updateNull (java.lang.String) throws java.sql.SQLException
public void updateBoolean (int, boolean) throws java.sql.SQLException
public void updateBoolean (java.lang.String, boolean) throws java.sql.SQLException
public void updateByte (int, byte) throws java.sql.SQLException
public void updateByte (java.lang.String, byte) throws java.sql.SQLException
public void updateBytes (int, byte[]) throws java.sql.SQLException
public void updateBytes (java.lang.String, byte[]) throws java.sql.SQLException
public void updateShort (int, short) throws java.sql.SQLException
public void updateShort (java.lang.String, short) throws java.sql.SQLException
public void updateInt (int, int) throws java.sql.SQLException
public void updateInt (java.lang.String, int) throws java.sql.SQLException
public void updateLong (int, long) throws java.sql.SQLException
public void updateLong (java.lang.String, long) throws java.sql.SQLException
public void updateFloat (int, float) throws java.sql.SQLException
public void updateFloat (java.lang.String, float) throws java.sql.SQLException
public void updateDouble (int, double) throws java.sql.SQLException
public void updateDouble (java.lang.String, double) throws java.sql.SQLException
public void updateBigDecimal (int, java.math.BigDecimal) throws java.sql.SQLException
public void updateBigDecimal (java.lang.String, java.math.BigDecimal) throws java.sql.SQLException
public void updateString (int, java.lang.String) throws java.sql.SQLException
public void updateString (java.lang.String, java.lang.String) throws java.sql.SQLException
public void updateDate (int, java.sql.Date) throws java.sql.SQLException
public void updateDate (java.lang.String, java.sql.Date) throws java.sql.SQLException
public void updateTime (int, java.sql.Time) throws java.sql.SQLException
public void updateTime (java.lang.String, java.sql.Time) throws java.sql.SQLException
public void updateTimestamp (int, java.sql.Timestamp) throws java.sql.SQLException
public void updateTimestamp (java.lang.String, java.sql.Timestamp) throws java.sql.SQLException
public void updateAsciiStream (int, java.io.InputStream, int) throws java.sql.SQLException
public void updateAsciiStream (int, java.io.InputStream) throws java.sql.SQLException
public void updateAsciiStream (int, java.io.InputStream, long) throws java.sql.SQLException
public void updateAsciiStream (java.lang.String, java.io.InputStream, int) throws java.sql.SQLException
public void updateAsciiStream (java.lang.String, java.io.InputStream) throws java.sql.SQLException
public void updateAsciiStream (java.lang.String, java.io.InputStream, long) throws java.sql.SQLException
public void updateBinaryStream (int, java.io.InputStream, int) throws java.sql.SQLException
public void updateBinaryStream (int, java.io.InputStream) throws java.sql.SQLException
public void updateBinaryStream (int, java.io.InputStream, long) throws java.sql.SQLException
public void updateBinaryStream (java.lang.String, java.io.InputStream) throws java.sql.SQLException
public void updateBinaryStream (java.lang.String, java.io.InputStream, int) throws java.sql.SQLException
public void updateBinaryStream (java.lang.String, java.io.InputStream, long) throws java.sql.SQLException
public void updateCharacterStream (int, java.io.Reader, long) throws java.sql.SQLException
public void updateCharacterStream (int, java.io.Reader, int) throws java.sql.SQLException
public void updateCharacterStream (int, java.io.Reader) throws java.sql.SQLException
public void updateCharacterStream (java.lang.String, java.io.Reader, int) throws java.sql.SQLException
public void updateCharacterStream (java.lang.String, java.io.Reader) throws java.sql.SQLException
public void updateCharacterStream (java.lang.String, java.io.Reader, long) throws java.sql.SQLException
public void updateObject (int, java.lang.Object, int) throws java.sql.SQLException
public void updateObject (java.lang.String, java.lang.Object, int) throws java.sql.SQLException
public void updateObject (int, java.lang.Object) throws java.sql.SQLException
public void updateObject (java.lang.String, java.lang.Object) throws java.sql.SQLException
public void updateRef (int, java.sql.Ref) throws java.sql.SQLException
public void updateRef (java.lang.String, java.sql.Ref) throws java.sql.SQLException
public void updateBlob (int, java.io.InputStream) throws java.sql.SQLException
public void updateBlob (int, java.io.InputStream, long) throws java.sql.SQLException
public void updateBlob (int, java.sql.Blob) throws java.sql.SQLException
public void updateBlob (java.lang.String, java.sql.Blob) throws java.sql.SQLException
public void updateBlob (java.lang.String, java.io.InputStream) throws java.sql.SQLException
public void updateBlob (java.lang.String, java.io.InputStream, long) throws java.sql.SQLException
public void updateClob (int, java.sql.Clob) throws java.sql.SQLException
public void updateClob (int, java.io.Reader) throws java.sql.SQLException
public void updateClob (int, java.io.Reader, long) throws java.sql.SQLException
public void updateClob (java.lang.String, java.sql.Clob) throws java.sql.SQLException
public void updateClob (java.lang.String, java.io.Reader) throws java.sql.SQLException
public void updateClob (java.lang.String, java.io.Reader, long) throws java.sql.SQLException
public void updateArray (int, java.sql.Array) throws java.sql.SQLException
public void updateArray (java.lang.String, java.sql.Array) throws java.sql.SQLException
public java.lang.String getCursorName () throws java.sql.SQLException
public int getRow () throws java.sql.SQLException
public int getConcurrency () throws java.sql.SQLException
public int getFetchDirection () throws java.sql.SQLException
public int getFetchSize () throws java.sql.SQLException
public void setFetchSize (int) throws java.sql.SQLException
public void setFetchDirection (int) throws java.sql.SQLException
public int getType () throws java.sql.SQLException
public boolean isBeforeFirst () throws java.sql.SQLException
public boolean isAfterLast () throws java.sql.SQLException
public boolean isFirst () throws java.sql.SQLException
public boolean isLast () throws java.sql.SQLException
public void beforeFirst () throws java.sql.SQLException
public void afterLast () throws java.sql.SQLException
public boolean first () throws java.sql.SQLException
public boolean last () throws java.sql.SQLException
public boolean absolute (int) throws java.sql.SQLException
public boolean relative (int) throws java.sql.SQLException
public boolean previous () throws java.sql.SQLException
public void moveToInsertRow () throws java.sql.SQLException
public void moveToCurrentRow () throws java.sql.SQLException
public boolean rowUpdated () throws java.sql.SQLException
public boolean rowInserted () throws java.sql.SQLException
public boolean rowDeleted () throws java.sql.SQLException
public void insertRow () throws java.sql.SQLException
public void updateRow () throws java.sql.SQLException
public void deleteRow () throws java.sql.SQLException
public void refreshRow () throws java.sql.SQLException
public void cancelRowUpdates () throws java.sql.SQLException
private org.h2.result.UpdatableRow getUpdatableRow () throws java.sql.SQLException
private int getColumnIndex (java.lang.String) throws java.sql.SQLException
private void checkColumnIndex (int) throws java.sql.SQLException
void checkClosed () throws java.sql.SQLException
private void checkOnValidRow ()
private org.h2.value.Value get (int) throws java.sql.SQLException
private org.h2.value.Value get (java.lang.String) throws java.sql.SQLException
private void update (java.lang.String, org.h2.value.Value) throws java.sql.SQLException
private void update (int, org.h2.value.Value) throws java.sql.SQLException
private boolean nextRow ()
private void resetResult ()
public int getHoldability () throws java.sql.SQLException
public boolean isClosed () throws java.sql.SQLException
public java.lang.String toString ()
private void patchCurrentRow (org.h2.value.Value[])
private org.h2.value.Value convertToUnknownValue (java.lang.Object) throws java.sql.SQLException
private void checkUpdatable () throws java.sql.SQLException
}
org/h2/jdbc/JdbcResultSetMetaData.classJdbcResultSetMetaData.java
package org.h2.jdbc
public org.h2.jdbc.JdbcResultSetMetaData extends org.h2.message.TraceObject implements java.sql.ResultSetMetaData {
private final String catalog
private final org.h2.jdbc.JdbcResultSet rs
private final org.h2.jdbc.JdbcPreparedStatement prep
private final org.h2.result.ResultInterface result
private final int columnCount
void (org.h2.jdbc.JdbcResultSet, org.h2.jdbc.JdbcPreparedStatement, org.h2.result.ResultInterface, java.lang.String, org.h2.message.Trace, int)
public int getColumnCount () throws java.sql.SQLException
public java.lang.String getColumnLabel (int) throws java.sql.SQLException
public java.lang.String getColumnName (int) throws java.sql.SQLException
public int getColumnType (int) throws java.sql.SQLException
public java.lang.String getColumnTypeName (int) throws java.sql.SQLException
public java.lang.String getSchemaName (int) throws java.sql.SQLException
public java.lang.String getTableName (int) throws java.sql.SQLException
public java.lang.String getCatalogName (int) throws java.sql.SQLException
public boolean isAutoIncrement (int) throws java.sql.SQLException
public boolean isCaseSensitive (int) throws java.sql.SQLException
public boolean isSearchable (int) throws java.sql.SQLException
public boolean isCurrency (int) throws java.sql.SQLException
public int isNullable (int) throws java.sql.SQLException
public boolean isSigned (int) throws java.sql.SQLException
public boolean isReadOnly (int) throws java.sql.SQLException
public boolean isWritable (int) throws java.sql.SQLException
public boolean isDefinitelyWritable (int) throws java.sql.SQLException
public java.lang.String getColumnClassName (int) throws java.sql.SQLException
public int getPrecision (int) throws java.sql.SQLException
public int getScale (int) throws java.sql.SQLException
public int getColumnDisplaySize (int) throws java.sql.SQLException
private void checkClosed () throws java.sql.SQLException
private void checkColumnIndex (int) throws java.sql.SQLException
public java.lang.String toString ()
}
org/h2/jdbc/JdbcSavepoint.classJdbcSavepoint.java
package org.h2.jdbc
public org.h2.jdbc.JdbcSavepoint extends org.h2.message.TraceObject implements java.sql.Savepoint {
private static final String SYSTEM_SAVEPOINT_PREFIX
private int savepointId
private String name
private org.h2.jdbc.JdbcConnection conn
void (org.h2.jdbc.JdbcConnection, int, java.lang.String, org.h2.message.Trace, int)
void release ()
static java.lang.String getName (java.lang.String, int)
void rollback ()
private void checkValid ()
public int getSavepointId () throws java.sql.SQLException
public java.lang.String getSavepointName () throws java.sql.SQLException
public java.lang.String toString ()
}
org/h2/jdbc/JdbcSQLException.classJdbcSQLException.java
package org.h2.jdbc
public org.h2.jdbc.JdbcSQLException extends java.sql.SQLException {
public static final String HIDE_SQL
private static final long serialVersionUID
private final String originalMessage
private final Throwable cause
private final String stackTrace
private String message
private String sql
public void (java.lang.String, java.lang.String, java.lang.String, int, java.lang.Throwable, java.lang.String)
public java.lang.String getMessage ()
public java.lang.String getOriginalMessage ()
public void printStackTrace ()
public void printStackTrace (java.io.PrintWriter)
public void printStackTrace (java.io.PrintStream)
public java.lang.Throwable getOriginalCause ()
public java.lang.String getSQL ()
public void setSQL (java.lang.String)
private void buildMessage ()
public java.lang.String toString ()
}
org/h2/jdbc/JdbcStatement.classJdbcStatement.java
package org.h2.jdbc
public org.h2.jdbc.JdbcStatement extends org.h2.message.TraceObject implements java.sql.Statement {
protected org.h2.jdbc.JdbcConnection conn
protected org.h2.engine.SessionInterface session
protected org.h2.jdbc.JdbcResultSet resultSet
protected int maxRows
protected int fetchSize
protected int updateCount
protected final int resultSetType
protected final int resultSetConcurrency
protected boolean closedByResultSet
private org.h2.command.CommandInterface executingCommand
private int lastExecutedCommandType
private java.util.ArrayList batchCommands
private boolean escapeProcessing
void (org.h2.jdbc.JdbcConnection, int, int, int, boolean)
public java.sql.ResultSet executeQuery (java.lang.String) throws java.sql.SQLException
public int executeUpdate (java.lang.String) throws java.sql.SQLException
private int executeUpdateInternal (java.lang.String) throws java.sql.SQLException
public boolean execute (java.lang.String) throws java.sql.SQLException
private boolean executeInternal (java.lang.String) throws java.sql.SQLException
public java.sql.ResultSet getResultSet () throws java.sql.SQLException
public int getUpdateCount () throws java.sql.SQLException
public void close () throws java.sql.SQLException
public java.sql.Connection getConnection ()
public java.sql.SQLWarning getWarnings () throws java.sql.SQLException
public void clearWarnings () throws java.sql.SQLException
public boolean getMoreResults () throws java.sql.SQLException
public void setCursorName (java.lang.String) throws java.sql.SQLException
public void setFetchDirection (int) throws java.sql.SQLException
public int getFetchDirection () throws java.sql.SQLException
public int getMaxRows () throws java.sql.SQLException
public void setMaxRows (int) throws java.sql.SQLException
public void setFetchSize (int) throws java.sql.SQLException
public int getFetchSize () throws java.sql.SQLException
public int getResultSetConcurrency () throws java.sql.SQLException
public int getResultSetType () throws java.sql.SQLException
public int getMaxFieldSize () throws java.sql.SQLException
public void setMaxFieldSize (int) throws java.sql.SQLException
public void setEscapeProcessing (boolean) throws java.sql.SQLException
public void cancel () throws java.sql.SQLException
public int getQueryTimeout () throws java.sql.SQLException
public void setQueryTimeout (int) throws java.sql.SQLException
public void addBatch (java.lang.String) throws java.sql.SQLException
public void clearBatch () throws java.sql.SQLException
public int[] executeBatch () throws java.sql.SQLException
public java.sql.ResultSet getGeneratedKeys () throws java.sql.SQLException
public boolean getMoreResults (int) throws java.sql.SQLException
public int executeUpdate (java.lang.String, int) throws java.sql.SQLException
public int executeUpdate (java.lang.String, int[]) throws java.sql.SQLException
public int executeUpdate (java.lang.String, java.lang.String[]) throws java.sql.SQLException
public boolean execute (java.lang.String, int) throws java.sql.SQLException
public boolean execute (java.lang.String, int[]) throws java.sql.SQLException
public boolean execute (java.lang.String, java.lang.String[]) throws java.sql.SQLException
public int getResultSetHoldability () throws java.sql.SQLException
boolean checkClosed () throws java.sql.SQLException
boolean checkClosedForWrite () throws java.sql.SQLException
protected boolean checkClosed (boolean) throws java.sql.SQLException
void afterWriting ()
protected void closeOldResultSet () throws java.sql.SQLException
protected void setExecutingStatement (org.h2.command.CommandInterface)
public int getLastExecutedCommandType ()
public boolean isClosed () throws java.sql.SQLException
public boolean isPoolable ()
public void setPoolable (boolean)
public java.lang.String toString ()
}
org/h2/jdbcx/JdbcConnectionPool.classJdbcConnectionPool.java
package org.h2.jdbcx
public org.h2.jdbcx.JdbcConnectionPool extends java.lang.Object implements javax.sql.DataSource javax.sql.ConnectionEventListener {
private static final int DEFAULT_TIMEOUT
private static final int DEFAULT_MAX_CONNECTIONS
private final javax.sql.ConnectionPoolDataSource dataSource
private final java.util.Stack recycledConnections
private java.io.PrintWriter logWriter
private int maxConnections
private int timeout
private int activeConnections
private boolean isDisposed
private void (javax.sql.ConnectionPoolDataSource)
public static org.h2.jdbcx.JdbcConnectionPool create (javax.sql.ConnectionPoolDataSource)
public static org.h2.jdbcx.JdbcConnectionPool create (java.lang.String, java.lang.String, java.lang.String)
public synchronized void setMaxConnections (int)
public synchronized int getMaxConnections ()
public synchronized int getLoginTimeout ()
public synchronized void setLoginTimeout (int)
public synchronized void dispose () throws java.sql.SQLException
public java.sql.Connection getConnection () throws java.sql.SQLException
private java.sql.Connection getConnectionNow () throws java.sql.SQLException
synchronized void recycleConnection (javax.sql.PooledConnection)
private void closeConnection (javax.sql.PooledConnection)
synchronized void disposeConnection (javax.sql.PooledConnection)
private void log (java.lang.String)
public void connectionClosed (javax.sql.ConnectionEvent)
public void connectionErrorOccurred (javax.sql.ConnectionEvent)
public synchronized int getActiveConnections ()
public java.sql.Connection getConnection (java.lang.String, java.lang.String)
public java.io.PrintWriter getLogWriter ()
public void setLogWriter (java.io.PrintWriter)
}
org/h2/jdbcx/JdbcDataSource.classJdbcDataSource.java
package org.h2.jdbcx
public org.h2.jdbcx.JdbcDataSource extends org.h2.message.TraceObject implements javax.sql.XADataSource javax.sql.DataSource javax.sql.ConnectionPoolDataSource java.io.Serializable javax.naming.Referenceable {
private static final long serialVersionUID
private transient org.h2.jdbcx.JdbcDataSourceFactory factory
private transient java.io.PrintWriter logWriter
private int loginTimeout
private String userName
private char[] passwordChars
private String url
private String description
public void ()
private void readObject (java.io.ObjectInputStream) throws java.io.IOException java.lang.ClassNotFoundException
private void initFactory ()
public int getLoginTimeout ()
public void setLoginTimeout (int)
public java.io.PrintWriter getLogWriter ()
public void setLogWriter (java.io.PrintWriter)
public java.sql.Connection getConnection () throws java.sql.SQLException
public java.sql.Connection getConnection (java.lang.String, java.lang.String) throws java.sql.SQLException
private org.h2.jdbc.JdbcConnection getJdbcConnection (java.lang.String, char[]) throws java.sql.SQLException
public java.lang.String getURL ()
public void setURL (java.lang.String)
public void setPassword (java.lang.String)
public void setPasswordChars (char[])
private char[] convertToCharArray (java.lang.String)
private java.lang.String convertToString (char[])
public java.lang.String getPassword ()
public java.lang.String getUser ()
public void setUser (java.lang.String)
public java.lang.String getDescription ()
public void setDescription (java.lang.String)
public javax.naming.Reference getReference ()
public javax.sql.XAConnection getXAConnection () throws java.sql.SQLException
public javax.sql.XAConnection getXAConnection (java.lang.String, java.lang.String) throws java.sql.SQLException
public javax.sql.PooledConnection getPooledConnection () throws java.sql.SQLException
public javax.sql.PooledConnection getPooledConnection (java.lang.String, java.lang.String) throws java.sql.SQLException
public java.lang.String toString ()
static void ()
}
org/h2/jdbcx/JdbcDataSourceFactory.classJdbcDataSourceFactory.java
package org.h2.jdbcx
public org.h2.jdbcx.JdbcDataSourceFactory extends java.lang.Object implements javax.naming.spi.ObjectFactory {
private static org.h2.message.TraceSystem cachedTraceSystem
private org.h2.message.Trace trace
public void ()
public synchronized java.lang.Object getObjectInstance (java.lang.Object, javax.naming.Name, javax.naming.Context, java.util.Hashtable)
private org.h2.message.TraceSystem getTraceSystem ()
org.h2.message.Trace getTrace ()
static void ()
}
org/h2/jdbcx/JdbcXAConnection$PooledJdbcConnection.classJdbcXAConnection.java
package org.h2.jdbcx
org.h2.jdbcx.JdbcXAConnection$PooledJdbcConnection extends org.h2.jdbc.JdbcConnection {
private boolean isClosed
final synthetic org.h2.jdbcx.JdbcXAConnection this$0
public void (org.h2.jdbcx.JdbcXAConnection, org.h2.jdbc.JdbcConnection)
public synchronized void close () throws java.sql.SQLException
public synchronized boolean isClosed () throws java.sql.SQLException
protected synchronized void checkClosed (boolean) throws java.sql.SQLException
protected void finalize ()
}
org/h2/jdbcx/JdbcXAConnection.classJdbcXAConnection.java
package org.h2.jdbcx
public org.h2.jdbcx.JdbcXAConnection extends org.h2.message.TraceObject implements javax.sql.XAConnection javax.transaction.xa.XAResource {
private static int nextTransactionId
private org.h2.jdbcx.JdbcDataSourceFactory factory
private String url
private String user
private org.h2.jdbc.JdbcConnection physicalConn
private volatile org.h2.jdbcx.JdbcXAConnection$PooledJdbcConnection handleConn
private java.util.ArrayList listeners
private javax.transaction.xa.Xid currentTransaction
private int currentTransactionId
void (org.h2.jdbcx.JdbcDataSourceFactory, int, java.lang.String, java.lang.String, char[]) throws java.sql.SQLException
public javax.transaction.xa.XAResource getXAResource ()
public void close () throws java.sql.SQLException
public java.sql.Connection getConnection () throws java.sql.SQLException
public void addConnectionEventListener (javax.sql.ConnectionEventListener)
public void removeConnectionEventListener (javax.sql.ConnectionEventListener)
void closedHandle ()
public int getTransactionTimeout ()
public boolean setTransactionTimeout (int)
public boolean isSameRM (javax.transaction.xa.XAResource)
public javax.transaction.xa.Xid[] recover (int) throws javax.transaction.xa.XAException
public int prepare (javax.transaction.xa.Xid) throws javax.transaction.xa.XAException
public void forget (javax.transaction.xa.Xid)
public void rollback (javax.transaction.xa.Xid) throws javax.transaction.xa.XAException
public void end (javax.transaction.xa.Xid, int) throws javax.transaction.xa.XAException
public void start (javax.transaction.xa.Xid, int) throws javax.transaction.xa.XAException
public void commit (javax.transaction.xa.Xid, boolean) throws javax.transaction.xa.XAException
public java.lang.String toString ()
private javax.transaction.xa.XAException convertException (java.sql.SQLException)
private java.lang.String quoteXid (javax.transaction.xa.Xid)
private java.lang.String quoteFlags (int)
private void checkOpen () throws javax.transaction.xa.XAException
static void ()
}
org/h2/jdbcx/JdbcXid.classJdbcXid.java
package org.h2.jdbcx
public org.h2.jdbcx.JdbcXid extends org.h2.message.TraceObject implements javax.transaction.xa.Xid {
private static final String PREFIX
private int formatId
private byte[] branchQualifier
private byte[] globalTransactionId
void (org.h2.jdbcx.JdbcDataSourceFactory, int, java.lang.String)
public java.lang.String getAsString ()
public int getFormatId ()
public byte[] getBranchQualifier ()
public byte[] getGlobalTransactionId ()
public java.lang.String toString ()
}
org/h2/jmx/DatabaseInfo.classDatabaseInfo.java
package org.h2.jmx
public org.h2.jmx.DatabaseInfo extends java.lang.Object implements org.h2.jmx.DatabaseInfoMBean {
private static final java.util.Map MBEANS
private final org.h2.engine.Database database
private void (org.h2.engine.Database)
private static javax.management.ObjectName getObjectName (java.lang.String, java.lang.String) throws javax.management.JMException
public static void registerMBean (org.h2.engine.ConnectionInfo, org.h2.engine.Database) throws javax.management.JMException
public static void unregisterMBean (java.lang.String) throws java.lang.Exception
public boolean isExclusive ()
public boolean isReadOnly ()
public java.lang.String getMode ()
public boolean isMultiThreaded ()
public boolean isMvcc ()
public int getLogMode ()
public void setLogMode (int)
public int getTraceLevel ()
public void setTraceLevel (int)
public long getFileWriteCountTotal ()
public long getFileWriteCount ()
public long getFileReadCount ()
public long getFileSize ()
public int getCacheSizeMax ()
public void setCacheSizeMax (int)
public int getCacheSize ()
public java.lang.String getVersion ()
public java.lang.String listSettings ()
public java.lang.String listSessions ()
static void ()
}
org/h2/jmx/DatabaseInfoMBean.classDatabaseInfoMBean.java
package org.h2.jmx
public abstract org.h2.jmx.DatabaseInfoMBean extends java.lang.Object {
public abstract boolean isExclusive ()
public abstract boolean isReadOnly ()
public abstract java.lang.String getMode ()
public abstract boolean isMultiThreaded ()
public abstract boolean isMvcc ()
public abstract int getLogMode ()
public abstract void setLogMode (int)
public abstract long getFileWriteCountTotal ()
public abstract long getFileWriteCount ()
public abstract long getFileReadCount ()
public abstract long getFileSize ()
public abstract int getCacheSizeMax ()
public abstract void setCacheSizeMax (int)
public abstract int getCacheSize ()
public abstract java.lang.String getVersion ()
public abstract int getTraceLevel ()
public abstract void setTraceLevel (int)
public abstract java.lang.String listSettings ()
public abstract java.lang.String listSessions ()
}
org/h2/jmx/DocumentedMBean.classDocumentedMBean.java
package org.h2.jmx
public org.h2.jmx.DocumentedMBean extends javax.management.StandardMBean {
private final String interfaceName
private java.util.Properties resources
public void (java.lang.Object, java.lang.Class) throws javax.management.NotCompliantMBeanException
private java.util.Properties getResources ()
protected java.lang.String getDescription (javax.management.MBeanInfo)
protected java.lang.String getDescription (javax.management.MBeanOperationInfo)
protected java.lang.String getDescription (javax.management.MBeanAttributeInfo)
protected int getImpact (javax.management.MBeanOperationInfo)
}
org/h2/message/DbException.classDbException.java
package org.h2.message
public org.h2.message.DbException extends java.lang.RuntimeException {
private static final long serialVersionUID
private static final java.util.Properties MESSAGES
private void (java.sql.SQLException)
private static transient java.lang.String translate (java.lang.String, java.lang.String[])
public java.sql.SQLException getSQLException ()
public int getErrorCode ()
public org.h2.message.DbException addSQL (java.lang.String)
public static org.h2.message.DbException get (int)
public static org.h2.message.DbException get (int, java.lang.String)
public static transient org.h2.message.DbException get (int, java.lang.Throwable, java.lang.String[])
public static transient org.h2.message.DbException get (int, java.lang.String[])
public static org.h2.message.DbException getSyntaxError (java.lang.String, int)
public static org.h2.message.DbException getSyntaxError (java.lang.String, int, java.lang.String)
public static org.h2.message.DbException getUnsupportedException (java.lang.String)
public static org.h2.message.DbException getInvalidValueException (java.lang.String, java.lang.Object)
public static java.lang.RuntimeException throwInternalError (java.lang.String)
public static java.lang.RuntimeException throwInternalError ()
public static java.sql.SQLException toSQLException (java.lang.Exception)
public static org.h2.message.DbException convert (java.lang.Throwable)
public static org.h2.message.DbException convertInvocation (java.lang.reflect.InvocationTargetException, java.lang.String)
public static org.h2.message.DbException convertIOException (java.io.IOException, java.lang.String)
private static transient org.h2.jdbc.JdbcSQLException getJdbcSQLException (int, java.lang.Throwable, java.lang.String[])
public static java.io.IOException convertToIOException (java.lang.Throwable)
static void ()
}
org/h2/message/Trace.classTrace.java
package org.h2.message
public org.h2.message.Trace extends java.lang.Object {
public static final String COMMAND
public static final String CONSTRAINT
public static final String DATABASE
public static final String FUNCTION
public static final String FILE_LOCK
public static final String INDEX
public static final String JDBC
public static final String LOCK
public static final String SCHEMA
public static final String SESSION
public static final String SEQUENCE
public static final String SETTING
public static final String TABLE
public static final String TRIGGER
public static final String USER
public static final String PAGE_STORE
private org.h2.message.TraceWriter traceWriter
private String module
private String lineSeparator
private int traceLevel
void (org.h2.message.TraceWriter, java.lang.String)
public void setLevel (int)
private boolean isEnabled (int)
public boolean isInfoEnabled ()
public boolean isDebugEnabled ()
public void error (java.lang.Throwable, java.lang.String)
public transient void error (java.lang.Throwable, java.lang.String, java.lang.Object[])
public void info (java.lang.String)
public transient void info (java.lang.String, java.lang.Object[])
void info (java.lang.Throwable, java.lang.String)
public void infoSQL (java.lang.String, java.lang.String, int, long)
public transient void debug (java.lang.String, java.lang.Object[])
public void debug (java.lang.String)
public void debug (java.lang.Throwable, java.lang.String)
public void infoCode (java.lang.String)
void debugCode (java.lang.String)
}
org/h2/message/TraceObject.classTraceObject.java
package org.h2.message
public org.h2.message.TraceObject extends java.lang.Object {
protected static final int CALLABLE_STATEMENT
protected static final int CONNECTION
protected static final int DATABASE_META_DATA
protected static final int PREPARED_STATEMENT
protected static final int RESULT_SET
protected static final int RESULT_SET_META_DATA
protected static final int SAVEPOINT
protected static final int SQL_EXCEPTION
protected static final int STATEMENT
protected static final int BLOB
protected static final int CLOB
protected static final int PARAMETER_META_DATA
protected static final int DATA_SOURCE
protected static final int XA_DATA_SOURCE
protected static final int XID
protected static final int ARRAY
private static final int LAST
private static final int[] ID
private static final String[] PREFIX
private org.h2.message.Trace trace
private int traceType
private int id
public void ()
protected void setTrace (org.h2.message.Trace, int, int)
protected void setTrace (org.h2.message.Trace)
protected org.h2.message.Trace getTrace ()
public int getTraceId ()
public java.lang.String getTraceObjectName ()
protected int getNextId (int)
protected boolean isDebugEnabled ()
protected boolean isInfoEnabled ()
protected void debugCodeAssign (java.lang.String, int, int, java.lang.String)
protected void debugCodeCall (java.lang.String)
protected void debugCodeCall (java.lang.String, long)
protected void debugCodeCall (java.lang.String, java.lang.String)
protected void debugCode (java.lang.String)
protected java.lang.String quote (java.lang.String)
protected java.lang.String quoteTime (java.sql.Time)
protected java.lang.String quoteTimestamp (java.sql.Timestamp)
protected java.lang.String quoteDate (java.sql.Date)
protected java.lang.String quoteBigDecimal (java.math.BigDecimal)
protected java.lang.String quoteBytes (byte[])
protected java.lang.String quoteArray (java.lang.String[])
protected java.lang.String quoteIntArray (int[])
protected java.lang.String quoteMap (java.util.Map)
protected java.sql.SQLException logAndConvert (java.lang.Exception)
protected java.sql.SQLException unsupported (java.lang.String) throws java.sql.SQLException
public static java.lang.String toString (java.lang.String, java.util.ArrayList)
static void ()
}
org/h2/message/TraceSystem.classTraceSystem.java
package org.h2.message
public org.h2.message.TraceSystem extends java.lang.Object implements org.h2.message.TraceWriter {
public static final int PARENT
public static final int OFF
public static final int ERROR
public static final int INFO
public static final int DEBUG
public static final int ADAPTER
public static final int DEFAULT_TRACE_LEVEL_SYSTEM_OUT
public static final int DEFAULT_TRACE_LEVEL_FILE
private static final int DEFAULT_MAX_FILE_SIZE
private static final int CHECK_SIZE_EACH_WRITES
private int levelSystemOut
private int levelFile
private int levelMax
private int maxFileSize
private String fileName
private java.util.HashMap traces
private java.text.SimpleDateFormat dateFormat
private java.io.Writer fileWriter
private java.io.PrintWriter printWriter
private int checkSize
private boolean closed
private boolean writingErrorLogged
private org.h2.message.TraceWriter writer
public void (java.lang.String)
private void updateLevel ()
public static void traceThrowable (java.lang.Throwable)
public synchronized org.h2.message.Trace getTrace (java.lang.String)
public boolean isEnabled (int)
public void setFileName (java.lang.String)
public void setMaxFileSize (int)
public void setLevelSystemOut (int)
public void setLevelFile (int)
public int getLevelFile ()
private synchronized java.lang.String format (java.lang.String, java.lang.String)
public void write (int, java.lang.String, java.lang.String, java.lang.Throwable)
private synchronized void writeFile (java.lang.String, java.lang.Throwable)
private void logWritingError (java.lang.Exception)
private boolean openWriter ()
private synchronized void closeWriter ()
public void close ()
protected void finalize ()
public void setName (java.lang.String)
}
org/h2/message/TraceWriter.classTraceWriter.java
package org.h2.message
abstract org.h2.message.TraceWriter extends java.lang.Object {
public abstract void setName (java.lang.String)
public abstract void write (int, java.lang.String, java.lang.String, java.lang.Throwable)
public abstract boolean isEnabled (int)
}
org/h2/message/TraceWriterAdapter.classTraceWriterAdapter.java
package org.h2.message
public org.h2.message.TraceWriterAdapter extends java.lang.Object implements org.h2.message.TraceWriter {
private String name
private org.slf4j.Logger logger
public void ()
public void setName (java.lang.String)
public boolean isEnabled (int)
public void write (int, java.lang.String, java.lang.String, java.lang.Throwable)
}
org/h2/result/LocalResult.classLocalResult.java
package org.h2.result
public org.h2.result.LocalResult extends java.lang.Object implements org.h2.result.ResultInterface org.h2.result.ResultTarget {
private int maxMemoryRows
private org.h2.engine.Session session
private int visibleColumnCount
private org.h2.expression.Expression[] expressions
private int rowId
private int rowCount
private java.util.ArrayList rows
private org.h2.result.SortOrder sort
private org.h2.util.ValueHashMap distinctRows
private org.h2.value.Value[] currentRow
private int offset
private int limit
private org.h2.result.ResultExternal disk
private int diskOffset
private boolean distinct
private boolean closed
public void ()
public void (org.h2.engine.Session, org.h2.expression.Expression[], int)
public static org.h2.result.LocalResult read (org.h2.engine.Session, java.sql.ResultSet, int)
public org.h2.result.LocalResult createShallowCopy (org.h2.engine.Session)
public void setSortOrder (org.h2.result.SortOrder)
public void setDistinct ()
public void removeDistinct (org.h2.value.Value[])
public boolean containsDistinct (org.h2.value.Value[])
public void reset ()
public org.h2.value.Value[] currentRow ()
public boolean next ()
public int getRowId ()
public void addRow (org.h2.value.Value[])
private void addRowsToDisk ()
public int getVisibleColumnCount ()
public void done ()
public int getRowCount ()
public void setLimit (int)
private void applyLimit ()
public boolean needToClose ()
public void close ()
public java.lang.String getAlias (int)
public java.lang.String getTableName (int)
public java.lang.String getSchemaName (int)
public int getDisplaySize (int)
public java.lang.String getColumnName (int)
public int getColumnType (int)
public long getColumnPrecision (int)
public int getNullable (int)
public boolean isAutoIncrement (int)
public int getColumnScale (int)
public void setOffset (int)
private void applyOffset ()
public java.lang.String toString ()
public boolean isClosed ()
public int getFetchSize ()
public void setFetchSize (int)
}
org/h2/result/ResultColumn.classResultColumn.java
package org.h2.result
public org.h2.result.ResultColumn extends java.lang.Object {
String alias
String schemaName
String tableName
String columnName
int columnType
long precision
int scale
int displaySize
boolean autoIncrement
int nullable
void (org.h2.value.Transfer) throws java.io.IOException
public static void writeColumn (org.h2.value.Transfer, org.h2.result.ResultInterface, int) throws java.io.IOException
}
org/h2/result/ResultDiskBuffer$ResultDiskTape.classResultDiskBuffer.java
package org.h2.result
org.h2.result.ResultDiskBuffer$ResultDiskTape extends java.lang.Object {
long start
long end
long pos
java.util.ArrayList buffer
void ()
}
org/h2/result/ResultDiskBuffer.classResultDiskBuffer.java
package org.h2.result
org.h2.result.ResultDiskBuffer extends java.lang.Object implements org.h2.result.ResultExternal {
private static final int READ_AHEAD
private org.h2.store.Data rowBuff
private org.h2.store.FileStore file
private java.util.ArrayList tapes
private org.h2.result.ResultDiskBuffer$ResultDiskTape mainTape
private org.h2.result.SortOrder sort
private int columnCount
private final int maxBufferSize
void (org.h2.engine.Session, org.h2.result.SortOrder, int)
public void addRows (java.util.ArrayList)
public void done ()
public void reset ()
private void readRow (org.h2.result.ResultDiskBuffer$ResultDiskTape)
public org.h2.value.Value[] next ()
private org.h2.value.Value[] nextUnsorted ()
private org.h2.value.Value[] nextSorted ()
private int compareTapes (org.h2.result.ResultDiskBuffer$ResultDiskTape, org.h2.result.ResultDiskBuffer$ResultDiskTape)
protected void finalize ()
public void close ()
public int removeRow (org.h2.value.Value[])
public boolean contains (org.h2.value.Value[])
public int addRow (org.h2.value.Value[])
}
org/h2/result/ResultExternal.classResultExternal.java
package org.h2.result
public abstract org.h2.result.ResultExternal extends java.lang.Object {
public abstract void reset ()
public abstract org.h2.value.Value[] next ()
public abstract void addRows (java.util.ArrayList)
public abstract void done ()
public abstract void close ()
public abstract int removeRow (org.h2.value.Value[])
public abstract boolean contains (org.h2.value.Value[])
public abstract int addRow (org.h2.value.Value[])
}
org/h2/result/ResultInterface.classResultInterface.java
package org.h2.result
public abstract org.h2.result.ResultInterface extends java.lang.Object {
public abstract void reset ()
public abstract org.h2.value.Value[] currentRow ()
public abstract boolean next ()
public abstract int getRowId ()
public abstract int getVisibleColumnCount ()
public abstract int getRowCount ()
public abstract boolean needToClose ()
public abstract void close ()
public abstract java.lang.String getAlias (int)
public abstract java.lang.String getSchemaName (int)
public abstract java.lang.String getTableName (int)
public abstract java.lang.String getColumnName (int)
public abstract int getColumnType (int)
public abstract long getColumnPrecision (int)
public abstract int getColumnScale (int)
public abstract int getDisplaySize (int)
public abstract boolean isAutoIncrement (int)
public abstract int getNullable (int)
public abstract void setFetchSize (int)
public abstract int getFetchSize ()
}
org/h2/result/ResultRemote.classResultRemote.java
package org.h2.result
public org.h2.result.ResultRemote extends java.lang.Object implements org.h2.result.ResultInterface {
private int fetchSize
private org.h2.engine.SessionRemote session
private org.h2.value.Transfer transfer
private int id
private org.h2.result.ResultColumn[] columns
private org.h2.value.Value[] currentRow
private int rowId
private int rowCount
private int rowOffset
private java.util.ArrayList result
private java.util.ArrayList lobValues
private final org.h2.message.Trace trace
public void (org.h2.engine.SessionRemote, org.h2.value.Transfer, int, int, int) throws java.io.IOException
public java.lang.String getAlias (int)
public java.lang.String getSchemaName (int)
public java.lang.String getTableName (int)
public java.lang.String getColumnName (int)
public int getColumnType (int)
public long getColumnPrecision (int)
public int getColumnScale (int)
public int getDisplaySize (int)
public boolean isAutoIncrement (int)
public int getNullable (int)
public void reset ()
public org.h2.value.Value[] currentRow ()
public boolean next ()
public int getRowId ()
public int getVisibleColumnCount ()
public int getRowCount ()
private void sendClose ()
public void close ()
private void remapIfOld ()
private void fetchRows (boolean)
public java.lang.String toString ()
public int getFetchSize ()
public void setFetchSize (int)
public boolean needToClose ()
}
org/h2/result/ResultTarget.classResultTarget.java
package org.h2.result
public abstract org.h2.result.ResultTarget extends java.lang.Object {
public abstract void addRow (org.h2.value.Value[])
public abstract int getRowCount ()
}
org/h2/result/ResultTempTable.classResultTempTable.java
package org.h2.result
public org.h2.result.ResultTempTable extends java.lang.Object implements org.h2.result.ResultExternal {
private static final String COLUMN_NAME
private org.h2.engine.Session session
private org.h2.table.RegularTable table
private org.h2.result.SortOrder sort
private org.h2.index.Index index
private org.h2.index.Cursor resultCursor
public void (org.h2.engine.Session, org.h2.result.SortOrder)
public int removeRow (org.h2.value.Value[])
public boolean contains (org.h2.value.Value[])
public int addRow (org.h2.value.Value[])
public void addRows (java.util.ArrayList)
public void close ()
public void done ()
public org.h2.value.Value[] next ()
public void reset ()
private org.h2.result.Row convertToRow (org.h2.value.Value[])
private org.h2.index.Cursor find (org.h2.result.Row)
}
org/h2/result/Row.classRow.java
package org.h2.result
public org.h2.result.Row extends java.lang.Object implements org.h2.result.SearchRow {
public static final int MEMORY_CALCULATE
public static final org.h2.result.Row[] EMPTY_ARRAY
private long key
private final org.h2.value.Value[] data
private int memory
private int version
private boolean deleted
private int sessionId
public void (org.h2.value.Value[], int)
public org.h2.result.Row getCopy ()
public void setKeyAndVersion (org.h2.result.SearchRow)
public int getVersion ()
public void setVersion (int)
public long getKey ()
public void setKey (long)
public org.h2.value.Value getValue (int)
public int getByteCount (org.h2.store.Data)
public void setValue (int, org.h2.value.Value)
public boolean isEmpty ()
public int getColumnCount ()
public int getMemory ()
public java.lang.String toString ()
public void setDeleted (boolean)
public void setSessionId (int)
public int getSessionId ()
public void commit ()
public boolean isDeleted ()
static void ()
}
org/h2/result/RowList.classRowList.java
package org.h2.result
public org.h2.result.RowList extends java.lang.Object {
private final org.h2.engine.Session session
private final java.util.ArrayList list
private int size
private int index
private int listIndex
private org.h2.store.FileStore file
private org.h2.store.Data rowBuff
private java.util.ArrayList lobs
private int memory
private int maxMemory
private boolean written
private boolean readUncached
public void (org.h2.engine.Session)
private void writeRow (org.h2.store.Data, org.h2.result.Row)
private void writeAllRows ()
private void initBuffer (org.h2.store.Data)
private void flushBuffer (org.h2.store.Data)
public void add (org.h2.result.Row)
public void reset ()
public boolean hasNext ()
private org.h2.result.Row readRow (org.h2.store.Data)
public org.h2.result.Row next ()
public int size ()
public void invalidateCache ()
public void close ()
}
org/h2/result/SearchRow.classSearchRow.java
package org.h2.result
public abstract org.h2.result.SearchRow extends java.lang.Object {
public static final org.h2.result.SearchRow[] EMPTY_ARRAY
public abstract int getColumnCount ()
public abstract org.h2.value.Value getValue (int)
public abstract void setValue (int, org.h2.value.Value)
public abstract void setKeyAndVersion (org.h2.result.SearchRow)
public abstract int getVersion ()
public abstract void setKey (long)
public abstract long getKey ()
public abstract int getMemory ()
static void ()
}
org/h2/result/SimpleRow.classSimpleRow.java
package org.h2.result
public org.h2.result.SimpleRow extends java.lang.Object implements org.h2.result.SearchRow {
private long key
private int version
private org.h2.value.Value[] data
private int memory
public void (org.h2.value.Value[])
public int getColumnCount ()
public long getKey ()
public void setKey (long)
public void setKeyAndVersion (org.h2.result.SearchRow)
public int getVersion ()
public void setValue (int, org.h2.value.Value)
public org.h2.value.Value getValue (int)
public java.lang.String toString ()
public int getMemory ()
}
org/h2/result/SimpleRowValue.classSimpleRowValue.java
package org.h2.result
public org.h2.result.SimpleRowValue extends java.lang.Object implements org.h2.result.SearchRow {
private long key
private int version
private int index
private int virtualColumnCount
private org.h2.value.Value data
public void (int)
public void setKeyAndVersion (org.h2.result.SearchRow)
public int getVersion ()
public int getColumnCount ()
public long getKey ()
public void setKey (long)
public org.h2.value.Value getValue (int)
public void setValue (int, org.h2.value.Value)
public java.lang.String toString ()
public int getMemory ()
}
org/h2/result/SortOrder.classSortOrder.java
package org.h2.result
public org.h2.result.SortOrder extends java.lang.Object implements java.util.Comparator {
public static final int ASCENDING
public static final int DESCENDING
public static final int NULLS_FIRST
public static final int NULLS_LAST
private static final int DEFAULT_NULL_SORT
private final org.h2.engine.Database database
private final int[] indexes
private final int[] sortTypes
public void (org.h2.engine.Database, int[], int[])
public java.lang.String getSQL (org.h2.expression.Expression[], int)
public static int compareNull (boolean, boolean, int)
public int compare (org.h2.value.Value[], org.h2.value.Value[])
public void sort (java.util.ArrayList)
public int[] getIndexes ()
public int[] getSortTypes ()
public volatile synthetic int compare (java.lang.Object, java.lang.Object)
static void ()
}
org/h2/result/UpdatableRow.classUpdatableRow.java
package org.h2.result
public org.h2.result.UpdatableRow extends java.lang.Object {
private final org.h2.jdbc.JdbcConnection conn
private final java.sql.DatabaseMetaData meta
private final org.h2.result.ResultInterface result
private final int columnCount
private String schemaName
private String tableName
private java.util.ArrayList key
private boolean isUpdatable
public void (org.h2.jdbc.JdbcConnection, org.h2.result.ResultInterface) throws java.sql.SQLException
public boolean isUpdatable ()
private int getColumnIndex (java.lang.String)
private void appendColumnList (org.h2.util.StatementBuilder, boolean)
private void appendKeyCondition (org.h2.util.StatementBuilder)
private void setKey (java.sql.PreparedStatement, int, org.h2.value.Value[]) throws java.sql.SQLException
private void appendTableName (org.h2.util.StatementBuilder)
public org.h2.value.Value[] readRow (org.h2.value.Value[]) throws java.sql.SQLException
public void deleteRow (org.h2.value.Value[]) throws java.sql.SQLException
public void updateRow (org.h2.value.Value[], org.h2.value.Value[]) throws java.sql.SQLException
public void insertRow (org.h2.value.Value[]) throws java.sql.SQLException
}
org/h2/schema/Constant.classConstant.java
package org.h2.schema
public org.h2.schema.Constant extends org.h2.schema.SchemaObjectBase {
private org.h2.value.Value value
private org.h2.expression.ValueExpression expression
public void (org.h2.schema.Schema, int, java.lang.String)
public java.lang.String getCreateSQLForCopy (org.h2.table.Table, java.lang.String)
public java.lang.String getDropSQL ()
public java.lang.String getCreateSQL ()
public int getType ()
public void removeChildrenAndResources (org.h2.engine.Session)
public void checkRename ()
public void setValue (org.h2.value.Value)
public org.h2.expression.ValueExpression getValue ()
}
org/h2/schema/Schema.classSchema.java
package org.h2.schema
public org.h2.schema.Schema extends org.h2.engine.DbObjectBase {
private org.h2.engine.User owner
private boolean system
private java.util.HashMap tablesAndViews
private java.util.HashMap indexes
private java.util.HashMap sequences
private java.util.HashMap triggers
private java.util.HashMap constraints
private java.util.HashMap constants
private java.util.HashMap functions
private java.util.HashSet temporaryUniqueNames
public void (org.h2.engine.Database, int, java.lang.String, org.h2.engine.User, boolean)
public boolean canDrop ()
public java.lang.String getCreateSQLForCopy (org.h2.table.Table, java.lang.String)
public java.lang.String getDropSQL ()
public java.lang.String getCreateSQL ()
public int getType ()
public void removeChildrenAndResources (org.h2.engine.Session)
public void checkRename ()
public org.h2.engine.User getOwner ()
private java.util.HashMap getMap (int)
public void add (org.h2.schema.SchemaObject)
public void rename (org.h2.schema.SchemaObject, java.lang.String)
public org.h2.table.Table findTableOrView (org.h2.engine.Session, java.lang.String)
public org.h2.index.Index findIndex (org.h2.engine.Session, java.lang.String)
public org.h2.schema.TriggerObject findTrigger (java.lang.String)
public org.h2.schema.Sequence findSequence (java.lang.String)
public org.h2.constraint.Constraint findConstraint (org.h2.engine.Session, java.lang.String)
public org.h2.schema.Constant findConstant (java.lang.String)
public org.h2.engine.FunctionAlias findFunction (java.lang.String)
public void freeUniqueName (java.lang.String)
private java.lang.String getUniqueName (org.h2.engine.DbObject, java.util.HashMap, java.lang.String)
public java.lang.String getUniqueConstraintName (org.h2.engine.Session, org.h2.table.Table)
public java.lang.String getUniqueIndexName (org.h2.engine.Session, org.h2.table.Table, java.lang.String)
public org.h2.table.Table getTableOrView (org.h2.engine.Session, java.lang.String)
public org.h2.index.Index getIndex (java.lang.String)
public org.h2.constraint.Constraint getConstraint (java.lang.String)
public org.h2.schema.Constant getConstant (java.lang.String)
public org.h2.schema.Sequence getSequence (java.lang.String)
public java.util.ArrayList getAll ()
public java.util.ArrayList getAll (int)
public java.util.ArrayList getAllTablesAndViews ()
public java.util.ArrayList getAllFunctionAliases ()
public void remove (org.h2.schema.SchemaObject)
public org.h2.table.Table createTable (org.h2.command.ddl.CreateTableData)
public org.h2.table.TableLink createTableLink (int, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, boolean, boolean)
}
org/h2/schema/SchemaObject.classSchemaObject.java
package org.h2.schema
public abstract org.h2.schema.SchemaObject extends java.lang.Object implements org.h2.engine.DbObject {
public abstract org.h2.schema.Schema getSchema ()
public abstract boolean isHidden ()
}
org/h2/schema/SchemaObjectBase.classSchemaObjectBase.java
package org.h2.schema
public abstract org.h2.schema.SchemaObjectBase extends org.h2.engine.DbObjectBase implements org.h2.schema.SchemaObject {
private org.h2.schema.Schema schema
public void ()
protected void initSchemaObjectBase (org.h2.schema.Schema, int, java.lang.String, java.lang.String)
public org.h2.schema.Schema getSchema ()
public java.lang.String getSQL ()
public boolean isHidden ()
}
org/h2/schema/Sequence.classSequence.java
package org.h2.schema
public org.h2.schema.Sequence extends org.h2.schema.SchemaObjectBase {
public static final int DEFAULT_CACHE_SIZE
private long value
private long valueWithMargin
private long increment
private long cacheSize
private boolean belongsToTable
public void (org.h2.schema.Schema, int, java.lang.String, boolean)
public synchronized void setStartValue (long)
public boolean getBelongsToTable ()
public long getIncrement ()
public void setIncrement (long)
public java.lang.String getDropSQL ()
public java.lang.String getCreateSQLForCopy (org.h2.table.Table, java.lang.String)
public synchronized java.lang.String getCreateSQL ()
public synchronized long getNext (org.h2.engine.Session)
public void flushWithoutMargin ()
public synchronized void flush (org.h2.engine.Session)
public void close ()
public int getType ()
public void removeChildrenAndResources (org.h2.engine.Session)
public void checkRename ()
public synchronized long getCurrentValue ()
public void setBelongsToTable (boolean)
public void setCacheSize (long)
public long getCacheSize ()
}
org/h2/schema/TriggerObject.classTriggerObject.java
package org.h2.schema
public org.h2.schema.TriggerObject extends org.h2.schema.SchemaObjectBase {
public static final int DEFAULT_QUEUE_SIZE
private boolean insteadOf
private boolean before
private int typeMask
private boolean rowBased
private boolean onRollback
private int queueSize
private boolean noWait
private org.h2.table.Table table
private String triggerClassName
private org.h2.api.Trigger triggerCallback
public void (org.h2.schema.Schema, int, java.lang.String, org.h2.table.Table)
public void setBefore (boolean)
public void setInsteadOf (boolean)
private synchronized void load (org.h2.engine.Session)
public void setTriggerClassName (org.h2.engine.Session, java.lang.String, boolean)
public void fire (org.h2.engine.Session, int, boolean)
private java.lang.Object[] convertToObjectList (org.h2.result.Row)
public boolean fireRow (org.h2.engine.Session, org.h2.result.Row, org.h2.result.Row, boolean, boolean)
public void setTypeMask (int)
public void setRowBased (boolean)
public void setQueueSize (int)
public int getQueueSize ()
public void setNoWait (boolean)
public boolean isNoWait ()
public void setOnRollback (boolean)
public java.lang.String getDropSQL ()
public java.lang.String getCreateSQLForCopy (org.h2.table.Table, java.lang.String)
public java.lang.String getTypeNameList ()
public java.lang.String getCreateSQL ()
public int getType ()
public void removeChildrenAndResources (org.h2.engine.Session)
public void checkRename ()
public org.h2.table.Table getTable ()
public boolean isBefore ()
public java.lang.String getTriggerClassName ()
public void close () throws java.sql.SQLException
public boolean isSelectTrigger ()
}
org/h2/security/AES.classAES.java
package org.h2.security
public org.h2.security.AES extends java.lang.Object implements org.h2.security.BlockCipher {
private static final int[] RCON
private static final int[] FS
private static final int[] FT0
private static final int[] FT1
private static final int[] FT2
private static final int[] FT3
private static final int[] RS
private static final int[] RT0
private static final int[] RT1
private static final int[] RT2
private static final int[] RT3
private int[] encKey
private int[] decKey
void ()
private static int rot8 (int)
private static int xtime (int)
private static int mul (int[], int[], int, int)
private int getDec (int)
public void setKey (byte[])
public void encrypt (byte[], int, int)
public void decrypt (byte[], int, int)
private void encryptBlock (byte[], byte[], int)
private void decryptBlock (byte[], byte[], int)
public int getKeyLength ()
static void ()
}
org/h2/security/BlockCipher.classBlockCipher.java
package org.h2.security
public abstract org.h2.security.BlockCipher extends java.lang.Object {
public static final int ALIGN
public abstract void setKey (byte[])
public abstract void encrypt (byte[], int, int)
public abstract void decrypt (byte[], int, int)
public abstract int getKeyLength ()
}
org/h2/security/CipherFactory.classCipherFactory.java
package org.h2.security
public org.h2.security.CipherFactory extends java.lang.Object {
public static final String KEYSTORE_PASSWORD
private static final String KEYSTORE
private static final String KEYSTORE_KEY
private static final String KEYSTORE_PASSWORD_KEY
private static final String ANONYMOUS_CIPHER_SUITE
private void ()
public static org.h2.security.BlockCipher getBlockCipher (java.lang.String)
public static org.h2.security.SHA256 getHash (java.lang.String)
public static java.net.Socket createSocket (java.net.InetAddress, int) throws java.io.IOException
public static java.net.ServerSocket createServerSocket (int, java.net.InetAddress) throws java.io.IOException
private static byte[] getKeyStoreBytes (java.security.KeyStore, java.lang.String) throws java.io.IOException
public static java.security.KeyStore getKeyStore (java.lang.String) throws java.io.IOException
private static void setKeystore () throws java.io.IOException
private static java.lang.String[] addAnonymous (java.lang.String[])
}
org/h2/security/Fog.classFog.java
package org.h2.security
public org.h2.security.Fog extends java.lang.Object implements org.h2.security.BlockCipher {
private int key
public void ()
public void encrypt (byte[], int, int)
public void decrypt (byte[], int, int)
private void encryptBlock (byte[], byte[], int)
private void decryptBlock (byte[], byte[], int)
public int getKeyLength ()
public void setKey (byte[])
}
org/h2/security/SecureFileStore.classSecureFileStore.java
package org.h2.security
public org.h2.security.SecureFileStore extends org.h2.store.FileStore {
private byte[] key
private org.h2.security.BlockCipher cipher
private org.h2.security.BlockCipher cipherForInitVector
private byte[] buffer
private long pos
private byte[] bufferForInitVector
private int keyIterations
public void (org.h2.store.DataHandler, java.lang.String, java.lang.String, java.lang.String, byte[], int)
protected byte[] generateSalt ()
protected void initKey (byte[])
protected void writeDirect (byte[], int, int)
public void write (byte[], int, int)
protected void readFullyDirect (byte[], int, int)
public void readFully (byte[], int, int)
public void seek (long)
private void xorInitVector (byte[], int, int, long)
}
org/h2/security/SHA256.classSHA256.java
package org.h2.security
public org.h2.security.SHA256 extends java.lang.Object {
private static final int[] K
public void ()
public byte[] getHashWithSalt (byte[], byte[])
public byte[] getKeyPasswordHash (java.lang.String, char[])
public byte[] getHash (byte[], boolean)
private int rot (int, int)
private int readInt (byte[], int)
private void writeInt (byte[], int, int)
static void ()
}
org/h2/security/XTEA.classXTEA.java
package org.h2.security
public org.h2.security.XTEA extends java.lang.Object implements org.h2.security.BlockCipher {
private static final int DELTA
private int k0
private int k1
private int k2
private int k3
private int k4
private int k5
private int k6
private int k7
private int k8
private int k9
private int k10
private int k11
private int k12
private int k13
private int k14
private int k15
private int k16
private int k17
private int k18
private int k19
private int k20
private int k21
private int k22
private int k23
private int k24
private int k25
private int k26
private int k27
private int k28
private int k29
private int k30
private int k31
void ()
public void setKey (byte[])
public void encrypt (byte[], int, int)
public void decrypt (byte[], int, int)
private void encryptBlock (byte[], byte[], int)
private void decryptBlock (byte[], byte[], int)
public int getKeyLength ()
}
org/h2/server/pg/PgServer.classPgServer.java
package org.h2.server.pg
public org.h2.server.pg.PgServer extends java.lang.Object implements org.h2.server.Service {
public static final int DEFAULT_PORT
public static final int PG_TYPE_VARCHAR
public static final int PG_TYPE_INT2VECTOR
private static final int PG_TYPE_BOOL
private static final int PG_TYPE_BYTEA
private static final int PG_TYPE_BPCHAR
private static final int PG_TYPE_INT8
private static final int PG_TYPE_INT2
private static final int PG_TYPE_INT4
private static final int PG_TYPE_TEXT
private static final int PG_TYPE_OID
private static final int PG_TYPE_FLOAT4
private static final int PG_TYPE_FLOAT8
private static final int PG_TYPE_UNKNOWN
private static final int PG_TYPE_TEXTARRAY
private static final int PG_TYPE_DATE
private static final int PG_TYPE_TIME
private static final int PG_TYPE_TIMESTAMP_NO_TMZONE
private static final int PG_TYPE_NUMERIC
private java.util.HashSet typeSet
private int port
private boolean stop
private boolean trace
private java.net.ServerSocket serverSocket
private java.util.Set running
private String baseDir
private boolean allowOthers
private boolean isDaemon
private boolean ifExists
public void ()
public transient void init (java.lang.String[])
boolean getTrace ()
void trace (java.lang.String)
synchronized void remove (org.h2.server.pg.PgServerThread)
void traceError (java.lang.Exception)
public java.lang.String getURL ()
public int getPort ()
private boolean allow (java.net.Socket)
public void start ()
public void listen ()
public void stop ()
public boolean isRunning (boolean)
java.lang.String getBaseDir ()
public boolean getAllowOthers ()
public java.lang.String getType ()
public java.lang.String getName ()
boolean getIfExists ()
public static java.lang.String getIndexColumn (java.sql.Connection, int, java.lang.Integer, java.lang.Boolean) throws java.sql.SQLException
public static java.lang.String getCurrentSchema (java.sql.Connection) throws java.sql.SQLException
public static int getOid (java.sql.Connection, java.lang.String) throws java.sql.SQLException
public static java.lang.String getEncodingName (int)
public static java.lang.String getVersion ()
public static java.sql.Timestamp getStartTime ()
public static java.lang.String getUserById (java.sql.Connection, int) throws java.sql.SQLException
public static boolean hasDatabasePrivilege (int, java.lang.String)
public static boolean hasTablePrivilege (java.lang.String, java.lang.String)
public static int getCurrentTid (java.lang.String, java.lang.String)
public static int convertType (int)
java.util.HashSet getTypeSet ()
void checkType (int)
public boolean isDaemon ()
}
org/h2/server/pg/PgServerThread$Portal.classPgServerThread.java
package org.h2.server.pg
org.h2.server.pg.PgServerThread$Portal extends java.lang.Object {
String name
int[] resultColumnFormat
org.h2.server.pg.PgServerThread$Prepared prep
void ()
}
org/h2/server/pg/PgServerThread$Prepared.classPgServerThread.java
package org.h2.server.pg
org.h2.server.pg.PgServerThread$Prepared extends java.lang.Object {
String name
String sql
org.h2.jdbc.JdbcPreparedStatement prep
int[] paramType
void ()
}
org/h2/server/pg/PgServerThread.classPgServerThread.java
package org.h2.server.pg
public org.h2.server.pg.PgServerThread extends java.lang.Object implements java.lang.Runnable {
private org.h2.server.pg.PgServer server
private java.net.Socket socket
private java.sql.Connection conn
private boolean stop
private java.io.DataInputStream dataInRaw
private java.io.DataInputStream dataIn
private java.io.OutputStream out
private int messageType
private java.io.ByteArrayOutputStream outBuffer
private java.io.DataOutputStream dataOut
private Thread thread
private boolean initDone
private String userName
private String databaseName
private int processId
private String clientEncoding
private String dateStyle
private java.util.HashMap prepared
private java.util.HashMap portals
void (java.net.Socket, org.h2.server.pg.PgServer)
public void run ()
private java.lang.String readString () throws java.io.IOException
private int readInt () throws java.io.IOException
private int readShort () throws java.io.IOException
private byte readByte () throws java.io.IOException
private void readFully (byte[]) throws java.io.IOException
private void process () throws java.io.IOException
private java.lang.String getSQL (java.lang.String)
private void sendCommandComplete (org.h2.jdbc.JdbcStatement, int) throws java.io.IOException
private void sendDataRow (java.sql.ResultSet) throws java.lang.Exception
private java.lang.String getEncoding ()
private void setParameter (java.sql.PreparedStatement, int, byte[], int[]) throws java.sql.SQLException
private void sendErrorResponse (java.lang.Exception) throws java.io.IOException
private void sendParameterDescription (org.h2.server.pg.PgServerThread$Prepared) throws java.io.IOException
private void sendNoData () throws java.io.IOException
private void sendRowDescription (java.sql.ResultSetMetaData) throws java.lang.Exception
private int getTypeSize (int, int)
private void sendErrorResponse (java.lang.String) throws java.io.IOException
private void sendParseComplete () throws java.io.IOException
private void sendBindComplete () throws java.io.IOException
private void sendCloseComplete () throws java.io.IOException
private void initDb () throws java.sql.SQLException
private void installPgCatalog (java.sql.Statement) throws java.sql.SQLException
void close ()
private void sendAuthenticationCleartextPassword () throws java.io.IOException
private void sendAuthenticationOk () throws java.io.IOException
private void sendReadyForQuery () throws java.io.IOException
private void sendBackendKeyData () throws java.io.IOException
private void writeString (java.lang.String) throws java.io.IOException
private void writeStringPart (java.lang.String) throws java.io.IOException
private void writeInt (int) throws java.io.IOException
private void writeShort (int) throws java.io.IOException
private void write (byte[]) throws java.io.IOException
private void write (int) throws java.io.IOException
private void startMessage (int)
private void sendMessage () throws java.io.IOException
private void sendParameterStatus (java.lang.String, java.lang.String) throws java.io.IOException
void setThread (java.lang.Thread)
java.lang.Thread getThread ()
void setProcessId (int)
}
org/h2/server/Service.classService.java
package org.h2.server
public abstract org.h2.server.Service extends java.lang.Object {
public transient abstract void init (java.lang.String[]) throws java.lang.Exception
public abstract java.lang.String getURL ()
public abstract void start () throws java.sql.SQLException
public abstract void listen ()
public abstract void stop ()
public abstract boolean isRunning (boolean)
public abstract boolean getAllowOthers ()
public abstract java.lang.String getName ()
public abstract java.lang.String getType ()
public abstract int getPort ()
public abstract boolean isDaemon ()
}
org/h2/server/ShutdownHandler.classShutdownHandler.java
package org.h2.server
public abstract org.h2.server.ShutdownHandler extends java.lang.Object {
public abstract void shutdown ()
}
org/h2/server/TcpServer.classTcpServer.java
package org.h2.server
public org.h2.server.TcpServer extends java.lang.Object implements org.h2.server.Service {
private static final int SHUTDOWN_NORMAL
private static final int SHUTDOWN_FORCE
private static final String MANAGEMENT_DB_PREFIX
private static final java.util.Map SERVERS
private int port
private boolean trace
private boolean ssl
private boolean stop
private java.net.ServerSocket serverSocket
private java.util.Set running
private String baseDir
private boolean allowOthers
private boolean isDaemon
private boolean ifExists
private java.sql.Connection managementDb
private java.sql.PreparedStatement managementDbAdd
private java.sql.PreparedStatement managementDbRemove
private String managementPassword
private Thread listenerThread
private int nextThreadId
private String key
private String keyDatabase
public void ()
public static java.lang.String getManagementDbName (int)
private void initManagementDb () throws java.sql.SQLException
synchronized void addConnection (int, java.lang.String, java.lang.String)
synchronized void removeConnection (int)
private synchronized void stopManagementDb ()
public transient void init (java.lang.String[])
public java.lang.String getURL ()
public int getPort ()
boolean allow (java.net.Socket)
public synchronized void start () throws java.sql.SQLException
public void listen ()
public synchronized boolean isRunning (boolean)
public void stop ()
public static void stopServer (int, java.lang.String, int)
void remove (org.h2.server.TcpServerThread)
java.lang.String getBaseDir ()
void trace (java.lang.String)
void traceError (java.lang.Throwable)
public boolean getAllowOthers ()
public java.lang.String getType ()
public java.lang.String getName ()
boolean getIfExists ()
public static synchronized void shutdown (java.lang.String, java.lang.String, boolean, boolean) throws java.sql.SQLException
void cancelStatement (java.lang.String, int) throws java.sql.SQLException
public java.lang.String checkKeyAndGetDatabaseName (java.lang.String) throws java.sql.SQLException
public boolean isDaemon ()
static void ()
}
org/h2/server/TcpServerThread.classTcpServerThread.java
package org.h2.server
public org.h2.server.TcpServerThread extends java.lang.Object implements java.lang.Runnable {
private org.h2.server.TcpServer server
private org.h2.engine.Session session
private boolean stop
private Thread thread
private org.h2.value.Transfer transfer
private org.h2.command.Command commit
private org.h2.util.SmallMap cache
private int threadId
private int clientVersion
private String sessionId
void (java.net.Socket, org.h2.server.TcpServer, int)
private void trace (java.lang.String)
public void run ()
private void closeSession ()
void close ()
private void sendError (java.lang.Throwable)
private void setParameters (org.h2.command.Command) throws java.io.IOException
private void process () throws java.io.IOException java.sql.SQLException
private int getState (int)
private void sendRow (org.h2.result.ResultInterface) throws java.io.IOException
void setThread (java.lang.Thread)
java.lang.Thread getThread ()
void cancelStatement (java.lang.String, int) throws java.sql.SQLException
}
org/h2/server/web/ConnectionInfo.classConnectionInfo.java
package org.h2.server.web
public org.h2.server.web.ConnectionInfo extends java.lang.Object implements java.lang.Comparable {
public String driver
public String url
public String user
String name
int lastAccess
void ()
public void (java.lang.String)
private java.lang.String get (java.lang.String[], int)
java.lang.String getString ()
public int compareTo (org.h2.server.web.ConnectionInfo)
public volatile synthetic int compareTo (java.lang.Object)
}
org/h2/server/web/DbColumn.classDbColumn.java
package org.h2.server.web
org.h2.server.web.DbColumn extends java.lang.Object {
String name
String dataType
void (java.sql.ResultSet) throws java.sql.SQLException
}
org/h2/server/web/DbContents.classDbContents.java
package org.h2.server.web
public org.h2.server.web.DbContents extends java.lang.Object {
org.h2.server.web.DbSchema[] schemas
org.h2.server.web.DbSchema defaultSchema
boolean isOracle
boolean isH2
boolean isH2ModeMySQL
boolean isPostgreSQL
boolean isMySQL
boolean isDerby
boolean isFirebird
boolean isSQLite
boolean storedUpperCaseIdentifiers
public void ()
static int findColumn (java.sql.ResultSet, java.lang.String, int)
void readContents (java.sql.DatabaseMetaData) throws java.sql.SQLException
private java.lang.String[] getSchemaNames (java.sql.DatabaseMetaData) throws java.sql.SQLException
private java.lang.String getDefaultSchemaName (java.sql.DatabaseMetaData)
java.lang.String quoteIdentifier (java.lang.String)
boolean needsQuotes (java.lang.String)
}
org/h2/server/web/DbContextRule.classDbContextRule.java
package org.h2.server.web
public org.h2.server.web.DbContextRule extends java.lang.Object implements org.h2.bnf.Rule {
static final int COLUMN
static final int TABLE
static final int TABLE_ALIAS
static final int NEW_TABLE_ALIAS
static final int COLUMN_ALIAS
static final int SCHEMA
private static final boolean SUGGEST_TABLE_ALIAS
private org.h2.server.web.DbContents contents
private int type
void (org.h2.server.web.DbContents, int)
public java.lang.String toString ()
public java.lang.String name ()
public void setLinks (java.util.HashMap)
public void addNextTokenList (org.h2.bnf.Sentence)
private void addTableAlias (org.h2.bnf.Sentence)
private void addNewTableAlias (org.h2.bnf.Sentence)
private void addSchema (org.h2.bnf.Sentence)
private void addTable (org.h2.bnf.Sentence)
private void addColumn (org.h2.bnf.Sentence)
public boolean matchRemove (org.h2.bnf.Sentence)
private java.lang.String matchSchema (org.h2.bnf.Sentence)
private java.lang.String matchTable (org.h2.bnf.Sentence)
private java.lang.String matchColumnAlias (org.h2.bnf.Sentence)
private java.lang.String matchTableAlias (org.h2.bnf.Sentence, boolean)
private java.lang.String matchColumn (org.h2.bnf.Sentence)
public void accept (org.h2.bnf.BnfVisitor)
}
org/h2/server/web/DbSchema.classDbSchema.java
package org.h2.server.web
public org.h2.server.web.DbSchema extends java.lang.Object {
static final int MAX_TABLES_LIST_INDEXES
static final int MAX_TABLES_LIST_COLUMNS
final org.h2.server.web.DbContents contents
final String name
final boolean isDefault
final boolean isSystem
final String quotedName
org.h2.server.web.DbTableOrView[] tables
void (org.h2.server.web.DbContents, java.lang.String, boolean)
void readTables (java.sql.DatabaseMetaData, java.lang.String[]) throws java.sql.SQLException
}
org/h2/server/web/DbStarter.classDbStarter.java
package org.h2.server.web
public org.h2.server.web.DbStarter extends java.lang.Object implements javax.servlet.ServletContextListener {
private java.sql.Connection conn
private org.h2.tools.Server server
public void ()
public void contextInitialized (javax.servlet.ServletContextEvent)
private java.lang.String getParameter (javax.servlet.ServletContext, java.lang.String, java.lang.String)
public java.sql.Connection getConnection ()
public void contextDestroyed (javax.servlet.ServletContextEvent)
}
org/h2/server/web/DbTableOrView.classDbTableOrView.java
package org.h2.server.web
public org.h2.server.web.DbTableOrView extends java.lang.Object {
org.h2.server.web.DbSchema schema
String name
String quotedName
boolean isView
org.h2.server.web.DbColumn[] columns
void (org.h2.server.web.DbSchema, java.sql.ResultSet) throws java.sql.SQLException
void readColumns (java.sql.DatabaseMetaData) throws java.sql.SQLException
}
org/h2/server/web/PageParser.classPageParser.java
package org.h2.server.web
public org.h2.server.web.PageParser extends java.lang.Object {
private String page
private int pos
private java.util.Map settings
private int len
private StringBuilder result
private void (java.lang.String, java.util.Map, int)
public static java.lang.String parse (java.lang.String, java.util.Map)
private void setError (int)
private java.lang.String parseBlockUntil (java.lang.String) throws java.text.ParseException
private java.lang.String replaceTags ()
private void parseAll () throws java.text.ParseException
private java.lang.Object get (java.lang.String)
private void replaceTags (java.lang.String)
private java.lang.String readParam (java.lang.String) throws java.text.ParseException
private void skipSpaces ()
private void read (java.lang.String) throws java.text.ParseException
private boolean readIf (java.lang.String)
static java.lang.String escapeHtmlData (java.lang.String)
public static java.lang.String escapeHtml (java.lang.String)
private static java.lang.String escapeHtml (java.lang.String, boolean)
static java.lang.String escapeJavaScript (java.lang.String)
}
org/h2/server/web/WebApp$1.classWebApp.java
package org.h2.server.web
org.h2.server.web.WebApp$1 extends java.lang.Object implements java.util.Iterator {
private int i
final synthetic java.util.ArrayList val$list
final synthetic java.sql.Connection val$conn
final synthetic org.h2.server.web.WebApp this$0
void (org.h2.server.web.WebApp, java.util.ArrayList, java.sql.Connection)
public boolean hasNext ()
public java.lang.String next ()
public void remove ()
public volatile synthetic java.lang.Object next ()
}
org/h2/server/web/WebApp$2.classWebApp.java
package org.h2.server.web
org.h2.server.web.WebApp$2 extends java.lang.Object implements java.util.Comparator {
final synthetic org.h2.server.web.WebApp this$0
void (org.h2.server.web.WebApp)
public int compare (java.lang.reflect.Method, java.lang.reflect.Method)
public volatile synthetic int compare (java.lang.Object, java.lang.Object)
}
org/h2/server/web/WebApp$IndexInfo.classWebApp.java
package org.h2.server.web
org.h2.server.web.WebApp$IndexInfo extends java.lang.Object {
String name
String type
String columns
void ()
}
org/h2/server/web/WebApp.classWebApp.java
package org.h2.server.web
public org.h2.server.web.WebApp extends java.lang.Object {
protected org.h2.server.web.WebServer server
protected org.h2.server.web.WebSession session
protected java.util.Properties attributes
protected String mimeType
protected boolean cache
protected boolean stop
protected String headerLanguage
private org.h2.util.Profiler profiler
void (org.h2.server.web.WebServer)
void setSession (org.h2.server.web.WebSession, java.util.Properties)
java.lang.String processRequest (java.lang.String, java.lang.String)
private java.lang.String getComboBox (java.lang.String[], java.lang.String)
private java.lang.String getComboBox (java.lang.String[][], java.lang.String)
private java.lang.String process (java.lang.String)
private java.lang.String autoCompleteList ()
private java.lang.String admin ()
private java.lang.String adminSave ()
private java.lang.String tools ()
private java.lang.String adminStartTranslate ()
protected java.lang.String adminShutdown ()
private java.lang.String index ()
private java.lang.String getHistory ()
private int addColumns (boolean, org.h2.server.web.DbTableOrView, java.lang.StringBuilder, int, boolean, java.lang.StringBuilder)
private int addIndexes (boolean, java.sql.DatabaseMetaData, java.lang.String, java.lang.String, java.lang.StringBuilder, int) throws java.sql.SQLException
private int addTablesAndViews (org.h2.server.web.DbSchema, boolean, java.lang.StringBuilder, int) throws java.sql.SQLException
private java.lang.String tables ()
private java.lang.String getStackTrace (int, java.lang.Throwable, boolean)
private java.lang.String linkToSource (java.lang.String)
private java.lang.String formatAsError (java.lang.String)
private java.lang.String test ()
java.lang.String getLoginError (java.lang.Exception, boolean)
private java.lang.String login ()
protected boolean loginAsync (java.lang.String, java.lang.String, java.lang.String, java.lang.String)
private java.lang.String logout ()
private java.lang.String query ()
protected void query (java.sql.Connection, java.lang.String, int, int, java.lang.StringBuilder)
private java.lang.String editResult ()
private java.sql.ResultSet getMetaResultSet (java.sql.Connection, java.lang.String) throws java.sql.SQLException
private void addDatabaseMetaData (org.h2.tools.SimpleResultSet, java.sql.DatabaseMetaData)
private java.lang.String[] split (java.lang.String)
private int getMaxrows ()
private java.lang.String getResult (java.sql.Connection, int, java.lang.String, boolean, boolean)
private boolean isBuiltIn (java.lang.String, java.lang.String)
private java.lang.String executeLoop (java.sql.Connection, int, java.lang.String) throws java.sql.SQLException
private java.lang.String getHistoryString ()
private java.lang.String getParameterResultSet (java.sql.ParameterMetaData) throws java.sql.SQLException
private java.lang.String getResultSet (java.lang.String, java.sql.ResultSet, boolean, boolean, boolean, long, boolean) throws java.sql.SQLException
java.lang.String settingSave ()
private java.lang.String escapeData (java.sql.ResultSet, int) throws java.sql.SQLException
private boolean isBinary (int)
private void unescapeData (java.lang.String, java.sql.ResultSet, int) throws java.sql.SQLException
private java.lang.String settingRemove ()
java.lang.String getMimeType ()
boolean getCache ()
org.h2.server.web.WebSession getSession ()
private void trace (java.lang.String)
}
org/h2/server/web/WebServer$TranslateThread.classWebServer.java
package org.h2.server.web
org.h2.server.web.WebServer$TranslateThread extends java.lang.Thread {
private final java.io.File file
private final java.util.Map translation
private volatile boolean stopNow
final synthetic org.h2.server.web.WebServer this$0
void (org.h2.server.web.WebServer, java.util.Map)
public java.lang.String getFileName ()
public void stopNow ()
public void run ()
}
org/h2/server/web/WebServer.classWebServer.java
package org.h2.server.web
public org.h2.server.web.WebServer extends java.lang.Object implements org.h2.server.Service {
static final String TRANSFER
private static final String DEFAULT_LANGUAGE
private static final String[][] LANGUAGES
private static final String[] GENERIC
private static int ticker
private static final long SESSION_TIMEOUT
private int port
private boolean allowOthers
private boolean isDaemon
private java.util.Set running
private boolean ssl
private java.util.HashMap connInfoMap
private long lastTimeoutCheck
private java.util.HashMap sessions
private java.util.HashSet languages
private String startDateTime
private java.net.ServerSocket serverSocket
private String url
private org.h2.server.ShutdownHandler shutdownHandler
private Thread listenerThread
private boolean ifExists
private boolean trace
private org.h2.server.web.WebServer$TranslateThread translateThread
private boolean allowChunked
private String serverPropertiesDir
public void ()
byte[] getFile (java.lang.String) throws java.io.IOException
boolean isSimpleName (java.lang.String)
synchronized void remove (org.h2.server.web.WebThread)
private java.lang.String generateSessionId ()
org.h2.server.web.WebSession getSession (java.lang.String)
org.h2.server.web.WebSession createNewSession (java.lang.String)
java.lang.String getStartDateTime ()
public transient void init (java.lang.String[])
public java.lang.String getURL ()
private void updateURL ()
public void start ()
public void listen ()
public boolean isRunning (boolean)
public boolean isStopped ()
public void stop ()
void trace (java.lang.String)
void traceError (java.lang.Throwable)
boolean supportsLanguage (java.lang.String)
void readTranslations (org.h2.server.web.WebSession, java.lang.String)
java.lang.String[][] getLanguageArray ()
java.util.ArrayList getSessions ()
public java.lang.String getType ()
public java.lang.String getName ()
void setAllowOthers (boolean)
public boolean getAllowOthers ()
void setSSL (boolean)
void setPort (int)
boolean getSSL ()
public int getPort ()
org.h2.server.web.ConnectionInfo getSetting (java.lang.String)
void updateSetting (org.h2.server.web.ConnectionInfo)
void removeSetting (java.lang.String)
private java.util.Properties loadProperties ()
java.lang.String[] getSettingNames ()
synchronized java.util.ArrayList getSettings ()
synchronized void saveProperties (java.util.Properties)
java.sql.Connection getConnection (java.lang.String, java.lang.String, java.lang.String, java.lang.String) throws java.sql.SQLException
void shutdown ()
public void setShutdownHandler (org.h2.server.ShutdownHandler)
public java.lang.String addSession (java.sql.Connection) throws java.sql.SQLException
java.lang.String startTranslate (java.util.Map)
public boolean isDaemon ()
void setAllowChunked (boolean)
boolean getAllowChunked ()
static void ()
}
org/h2/server/web/WebServlet.classWebServlet.java
package org.h2.server.web
public org.h2.server.web.WebServlet extends javax.servlet.http.HttpServlet {
private static final long serialVersionUID
private transient org.h2.server.web.WebServer server
public void ()
public void init ()
public void destroy ()
private boolean allow (javax.servlet.http.HttpServletRequest)
private java.lang.String getAllowedFile (javax.servlet.http.HttpServletRequest, java.lang.String)
protected void doGet (javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse) throws java.io.IOException
protected void doPost (javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse) throws java.io.IOException
}
org/h2/server/web/WebSession.classWebSession.java
package org.h2.server.web
org.h2.server.web.WebSession extends java.lang.Object {
private static final int MAX_HISTORY
long lastAccess
java.util.HashMap map
java.util.Locale locale
java.sql.Statement executingStatement
java.sql.ResultSet result
private org.h2.server.web.WebServer server
private java.util.ArrayList commandHistory
private java.sql.Connection conn
private java.sql.DatabaseMetaData meta
private org.h2.server.web.DbContents contents
private org.h2.server.web.DbContextRule columnRule
private org.h2.server.web.DbContextRule newAliasRule
private org.h2.server.web.DbContextRule schemaRule
private org.h2.server.web.DbContextRule tableRule
private org.h2.server.web.DbContextRule aliasRule
private org.h2.server.web.DbContextRule columnAliasRule
private org.h2.bnf.Bnf bnf
private boolean shutdownServerOnDisconnect
void (org.h2.server.web.WebServer)
void put (java.lang.String, java.lang.Object)
java.lang.Object get (java.lang.String)
void remove (java.lang.String)
org.h2.bnf.Bnf getBnf ()
void loadBnf ()
java.lang.String getCommand (int)
void addCommand (java.lang.String)
java.util.ArrayList getCommands ()
java.util.HashMap getInfo ()
void setConnection (java.sql.Connection) throws java.sql.SQLException
java.sql.DatabaseMetaData getMetaData ()
java.sql.Connection getConnection ()
org.h2.server.web.DbContents getContents ()
void setShutdownServerOnDisconnect ()
boolean getShutdownServerOnDisconnect ()
void close ()
}
org/h2/server/web/WebThread.classWebThread.java
package org.h2.server.web
org.h2.server.web.WebThread extends org.h2.server.web.WebApp implements java.lang.Runnable {
protected java.io.OutputStream output
protected java.net.Socket socket
private Thread thread
private java.io.InputStream input
private int headerBytes
private String ifModifiedSince
void (java.net.Socket, org.h2.server.web.WebServer)
void start ()
void join (int) throws java.lang.InterruptedException
void stopNow ()
private java.lang.String getAllowedFile (java.lang.String)
public void run ()
private boolean process () throws java.io.IOException
private java.lang.String readHeaderLine () throws java.io.IOException
private void parseAttributes (java.lang.String)
private boolean parseHeader () throws java.io.IOException
private void uploadMultipart (java.io.InputStream, int) throws java.io.IOException
private java.lang.String getHeaderLineValue (java.lang.String)
protected java.lang.String adminShutdown ()
private boolean allow ()
private void trace (java.lang.String)
}
org/h2/store/Data.classData.java
package org.h2.store
public org.h2.store.Data extends java.lang.Object {
public static final int LENGTH_INT
private static final int LENGTH_LONG
private static final int INT_0_15
private static final int LONG_0_7
private static final int DECIMAL_0_1
private static final int DECIMAL_SMALL_0
private static final int DECIMAL_SMALL
private static final int DOUBLE_0_1
private static final int FLOAT_0_1
private static final int BOOLEAN_FALSE
private static final int BOOLEAN_TRUE
private static final int INT_NEG
private static final int LONG_NEG
private static final int STRING_0_31
private static final int BYTES_0_31
private static final long MILLIS_PER_MINUTE
protected byte[] data
private int pos
private final org.h2.store.DataHandler handler
protected void (org.h2.store.DataHandler, byte[])
public void setInt (int, int)
public void writeInt (int)
public int readInt ()
public static int getStringLen (java.lang.String)
private static int getStringWithoutLengthLen (java.lang.String, int)
public java.lang.String readString ()
private java.lang.String readString (int)
public void writeString (java.lang.String)
private void writeStringWithoutLength (java.lang.String, int)
public static org.h2.store.Data create (org.h2.store.DataHandler, int)
public static org.h2.store.Data create (org.h2.store.DataHandler, byte[])
public int length ()
public byte[] getBytes ()
public void reset ()
public void write (byte[], int, int)
public void read (byte[], int, int)
public void writeByte (byte)
public byte readByte ()
public long readLong ()
public void writeLong (long)
public void writeValue (org.h2.value.Value)
public org.h2.value.Value readValue ()
public int getValueLen (org.h2.value.Value)
private static int getValueLen (org.h2.value.Value, org.h2.store.DataHandler)
public void setPos (int)
public void writeShortInt (int)
public short readShortInt ()
public void truncate (int)
public static int getVarIntLen (int)
public void writeVarInt (int)
public int readVarInt ()
private int readVarIntRest (int)
public static int getVarLongLen (long)
public void writeVarLong (long)
public long readVarLong ()
public void checkCapacity (int)
private void expand (int)
public void fillAligned ()
}
org/h2/store/DataHandler.classDataHandler.java
package org.h2.store
public abstract org.h2.store.DataHandler extends java.lang.Object {
public abstract java.lang.String getDatabasePath ()
public abstract org.h2.store.FileStore openFile (java.lang.String, java.lang.String, boolean)
public abstract void checkPowerOff ()
public abstract void checkWritingAllowed ()
public abstract void freeUpDiskSpace ()
public abstract int getMaxLengthInplaceLob ()
public abstract java.lang.String getLobCompressionAlgorithm (int)
public abstract org.h2.util.TempFileDeleter getTempFileDeleter ()
public abstract java.lang.Object getLobSyncObject ()
public abstract org.h2.util.SmallLRUCache getLobFileListCache ()
public abstract org.h2.store.LobStorage getLobStorage ()
public abstract java.sql.Connection getLobConnection ()
}
org/h2/store/DataReader.classDataReader.java
package org.h2.store
public org.h2.store.DataReader extends java.lang.Object {
private static final java.io.EOFException EOF
private java.io.InputStream in
public void (java.io.InputStream)
public byte read () throws java.io.IOException
public int readVarInt () throws java.io.IOException
public long readVarLong () throws java.io.IOException
public void readFully (byte[], int, int) throws java.io.IOException
public java.lang.String readString () throws java.io.IOException
private java.lang.String readString (int) throws java.io.IOException
static void ()
}
org/h2/store/FileLister.classFileLister.java
package org.h2.store
public org.h2.store.FileLister extends java.lang.Object {
private void ()
public static java.lang.String getDatabaseNameFromFileName (java.lang.String)
public static void tryUnlockDatabase (java.util.ArrayList, java.lang.String) throws java.sql.SQLException
public static java.lang.String getDir (java.lang.String)
public static java.util.ArrayList getDatabaseFiles (java.lang.String, java.lang.String, boolean)
}
org/h2/store/FileLock.classFileLock.java
package org.h2.store
public org.h2.store.FileLock extends java.lang.Object implements java.lang.Runnable {
public static final int LOCK_NO
public static final int LOCK_FILE
public static final int LOCK_SOCKET
public static final int LOCK_SERIALIZED
public static final int LOCK_FS
private static final String MAGIC
private static final String FILE
private static final String SOCKET
private static final String SERIALIZED
private static final int RANDOM_BYTES
private static final int SLEEP_GAP
private static final int TIME_GRANULARITY
private volatile String fileName
private volatile java.net.ServerSocket serverSocket
private org.h2.store.fs.FileSystem fs
private int sleep
private org.h2.message.Trace trace
private long lastWrite
private String method
private String ipAddress
private java.util.Properties properties
private boolean locked
private String uniqueId
private Thread watchdog
public void (org.h2.message.TraceSystem, java.lang.String, int)
public synchronized void lock (int)
public synchronized void unlock ()
public void setProperty (java.lang.String, java.lang.String)
public java.util.Properties save ()
private void checkServer ()
public java.util.Properties load ()
private void waitUntilOld ()
private void setUniqueId ()
private void lockSerialized ()
private void lockFile ()
private void lockSocket ()
private void sleep (int)
private org.h2.message.DbException getExceptionFatal (java.lang.String, java.lang.Throwable)
private org.h2.message.DbException getExceptionAlreadyInUse (java.lang.String)
public static int getFileLockMethod (java.lang.String)
public java.lang.String getUniqueId ()
public void run ()
}
org/h2/store/FileStore.classFileStore.java
package org.h2.store
public org.h2.store.FileStore extends java.lang.Object {
public static final int HEADER_LENGTH
protected static byte[] empty
private static final String HEADER
protected String name
protected org.h2.store.DataHandler handler
private org.h2.store.fs.FileObject file
private long filePos
private long fileLength
private java.lang.ref.Reference autoDeleteReference
private boolean checkedWriting
private boolean synchronousMode
private String mode
private org.h2.util.TempFileDeleter tempFileDeleter
private boolean textMode
protected void (org.h2.store.DataHandler, java.lang.String, java.lang.String)
public static org.h2.store.FileStore open (org.h2.store.DataHandler, java.lang.String, java.lang.String)
public static org.h2.store.FileStore open (org.h2.store.DataHandler, java.lang.String, java.lang.String, java.lang.String, byte[])
public static org.h2.store.FileStore open (org.h2.store.DataHandler, java.lang.String, java.lang.String, java.lang.String, byte[], int)
protected byte[] generateSalt ()
protected void initKey (byte[])
public void setCheckedWriting (boolean)
private void checkWritingAllowed ()
private void checkPowerOff ()
public void init ()
public void close ()
public void closeSilently ()
public void closeAndDeleteSilently ()
protected void readFullyDirect (byte[], int, int)
public void readFully (byte[], int, int)
public void seek (long)
protected void writeDirect (byte[], int, int)
public void write (byte[], int, int)
private boolean freeUpDiskSpace ()
private void extendByWriting (long) throws java.io.IOException
public void setLength (long)
public long length ()
public long getFilePointer ()
public void sync ()
public void autoDelete ()
public void stopAutoDelete ()
public void closeFile () throws java.io.IOException
public void openFile () throws java.io.IOException
private static void trace (java.lang.String, java.lang.String, java.lang.Object)
public boolean isTextMode ()
public boolean tryLock ()
public void releaseLock ()
static void ()
}
org/h2/store/FileStoreInputStream.classFileStoreInputStream.java
package org.h2.store
public org.h2.store.FileStoreInputStream extends java.io.InputStream {
private org.h2.store.FileStore store
private org.h2.store.Data page
private int remainingInBuffer
private org.h2.tools.CompressTool compress
private boolean endOfFile
private boolean alwaysClose
public void (org.h2.store.FileStore, org.h2.store.DataHandler, boolean, boolean)
public int available ()
public int read (byte[]) throws java.io.IOException
public int read (byte[], int, int) throws java.io.IOException
private int readBlock (byte[], int, int) throws java.io.IOException
private void fillBuffer () throws java.io.IOException
public void close ()
protected void finalize ()
public int read () throws java.io.IOException
private int readInt ()
}
org/h2/store/FileStoreOutputStream.classFileStoreOutputStream.java
package org.h2.store
public org.h2.store.FileStoreOutputStream extends java.io.OutputStream {
private org.h2.store.FileStore store
private org.h2.store.Data page
private String compressionAlgorithm
private org.h2.tools.CompressTool compress
private byte[] buffer
public void (org.h2.store.FileStore, org.h2.store.DataHandler, java.lang.String)
public void write (int)
public void write (byte[])
public void write (byte[], int, int)
public void close ()
}
org/h2/store/fs/FileObject.classFileObject.java
package org.h2.store.fs
public abstract org.h2.store.fs.FileObject extends java.lang.Object {
public abstract long length () throws java.io.IOException
public abstract void close () throws java.io.IOException
public abstract void readFully (byte[], int, int) throws java.io.IOException
public abstract void seek (long) throws java.io.IOException
public abstract void write (byte[], int, int) throws java.io.IOException
public abstract long getFilePointer () throws java.io.IOException
public abstract void sync () throws java.io.IOException
public abstract void setFileLength (long) throws java.io.IOException
public abstract java.lang.String getName ()
public abstract boolean tryLock ()
public abstract void releaseLock ()
}
org/h2/store/fs/FileObjectDisk.classFileObjectDisk.java
package org.h2.store.fs
public org.h2.store.fs.FileObjectDisk extends java.io.RandomAccessFile implements org.h2.store.fs.FileObject {
private final String name
private java.nio.channels.FileLock lock
void (java.lang.String, java.lang.String) throws java.io.FileNotFoundException
public void sync () throws java.io.IOException
public void setFileLength (long) throws java.io.IOException
public java.lang.String getName ()
public synchronized boolean tryLock ()
public synchronized void releaseLock ()
}
org/h2/store/fs/FileObjectDiskChannel.classFileObjectDiskChannel.java
package org.h2.store.fs
public org.h2.store.fs.FileObjectDiskChannel extends java.lang.Object implements org.h2.store.fs.FileObject {
private final String name
private java.nio.channels.FileChannel channel
private java.nio.channels.FileLock lock
void (java.lang.String, java.lang.String) throws java.io.FileNotFoundException
public void close () throws java.io.IOException
public long getFilePointer () throws java.io.IOException
public java.lang.String getName ()
public long length () throws java.io.IOException
public void readFully (byte[], int, int) throws java.io.IOException
public void seek (long) throws java.io.IOException
public void setFileLength (long) throws java.io.IOException
public void sync () throws java.io.IOException
public void write (byte[], int, int) throws java.io.IOException
public synchronized boolean tryLock ()
public synchronized void releaseLock ()
}
org/h2/store/fs/FileObjectDiskMapped.classFileObjectDiskMapped.java
package org.h2.store.fs
public org.h2.store.fs.FileObjectDiskMapped extends java.lang.Object implements org.h2.store.fs.FileObject {
private static final long GC_TIMEOUT_MS
private final String name
private final java.nio.channels.FileChannel$MapMode mode
private java.io.RandomAccessFile file
private java.nio.MappedByteBuffer mapped
private java.nio.channels.FileLock lock
private int pos
void (java.lang.String, java.lang.String) throws java.io.IOException
private void unMap () throws java.io.IOException
private void reMap () throws java.io.IOException
private void checkFileSizeLimit (long) throws java.io.IOException
public void close () throws java.io.IOException
public long getFilePointer ()
public java.lang.String getName ()
public long length () throws java.io.IOException
public void readFully (byte[], int, int) throws java.io.EOFException
public void seek (long) throws java.io.IOException
public void setFileLength (long) throws java.io.IOException
public void sync () throws java.io.IOException
public void write (byte[], int, int) throws java.io.IOException
public synchronized boolean tryLock ()
public synchronized void releaseLock ()
}
org/h2/store/fs/FileObjectInputStream.classFileObjectInputStream.java
package org.h2.store.fs
public org.h2.store.fs.FileObjectInputStream extends java.io.InputStream {
private org.h2.store.fs.FileObject file
private byte[] buffer
public void (org.h2.store.fs.FileObject)
public int read () throws java.io.IOException
public int read (byte[]) throws java.io.IOException
public int read (byte[], int, int) throws java.io.IOException
public void close () throws java.io.IOException
}
org/h2/store/fs/FileObjectMemory.classFileObjectMemory.java
package org.h2.store.fs
public org.h2.store.fs.FileObjectMemory extends java.lang.Object implements org.h2.store.fs.FileObject {
private final org.h2.store.fs.FileObjectMemoryData data
private long pos
void (org.h2.store.fs.FileObjectMemoryData)
public long length ()
public void setFileLength (long) throws java.io.IOException
public void seek (long)
public void write (byte[], int, int) throws java.io.IOException
public void readFully (byte[], int, int) throws java.io.IOException
public long getFilePointer ()
public void close ()
public void sync ()
public void setName (java.lang.String)
public java.lang.String getName ()
public long getLastModified ()
public boolean tryLock ()
public void releaseLock ()
}
org/h2/store/fs/FileObjectMemoryData$Cache.classFileObjectMemoryData.java
package org.h2.store.fs
org.h2.store.fs.FileObjectMemoryData$Cache extends java.util.LinkedHashMap {
private static final long serialVersionUID
private int size
void (int)
protected boolean removeEldestEntry (java.util.Map$Entry)
}
org/h2/store/fs/FileObjectMemoryData$CompressItem.classFileObjectMemoryData.java
package org.h2.store.fs
org.h2.store.fs.FileObjectMemoryData$CompressItem extends java.lang.Object {
byte[][] data
int page
void ()
public int hashCode ()
public boolean equals (java.lang.Object)
}
org/h2/store/fs/FileObjectMemoryData.classFileObjectMemoryData.java
package org.h2.store.fs
org.h2.store.fs.FileObjectMemoryData extends java.lang.Object {
private static final int CACHE_SIZE
private static final int BLOCK_SIZE_SHIFT
private static final int BLOCK_SIZE
private static final int BLOCK_SIZE_MASK
private static final org.h2.compress.CompressLZF LZF
private static final byte[] BUFFER
private static final byte[] COMPRESSED_EMPTY_BLOCK
private static final org.h2.store.fs.FileObjectMemoryData$Cache COMPRESS_LATER
private String name
private final boolean compress
private long length
private byte[][] data
private long lastModified
private boolean isReadOnly
private volatile boolean locked
void (java.lang.String, boolean)
private static void compressLater (byte[][], int)
private static void expand (byte[][], int)
static void compress (byte[][], int)
void touch () throws java.io.IOException
long length ()
void setFileLength (long)
private void changeLength (long)
long readWrite (long, byte[], int, int, boolean) throws java.io.IOException
void setName (java.lang.String)
java.lang.String getName ()
long getLastModified ()
boolean canWrite ()
boolean setReadOnly ()
synchronized boolean tryLock ()
public synchronized void releaseLock ()
static void ()
}
org/h2/store/fs/FileObjectOutputStream.classFileObjectOutputStream.java
package org.h2.store.fs
public org.h2.store.fs.FileObjectOutputStream extends java.io.OutputStream {
private org.h2.store.fs.FileObject file
private byte[] buffer
public void (org.h2.store.fs.FileObject, boolean) throws java.io.IOException
public void write (int) throws java.io.IOException
public void write (byte[]) throws java.io.IOException
public void write (byte[], int, int) throws java.io.IOException
public void close () throws java.io.IOException
}
org/h2/store/fs/FileObjectSplit.classFileObjectSplit.java
package org.h2.store.fs
public org.h2.store.fs.FileObjectSplit extends java.lang.Object implements org.h2.store.fs.FileObject {
private final String name
private final String mode
private final long maxLength
private org.h2.store.fs.FileObject[] list
private long filePointer
private long length
void (java.lang.String, java.lang.String, org.h2.store.fs.FileObject[], long, long)
public void close () throws java.io.IOException
public long getFilePointer ()
public long length ()
private int read (byte[], int, int) throws java.io.IOException
public void readFully (byte[], int, int) throws java.io.IOException
public void seek (long)
private org.h2.store.fs.FileObject getFileObject () throws java.io.IOException
public void setFileLength (long) throws java.io.IOException
public void sync () throws java.io.IOException
public void write (byte[], int, int) throws java.io.IOException
private int writePart (byte[], int, int) throws java.io.IOException
public java.lang.String getName ()
public boolean tryLock ()
public void releaseLock ()
}
org/h2/store/fs/FileObjectZip.classFileObjectZip.java
package org.h2.store.fs
public org.h2.store.fs.FileObjectZip extends java.lang.Object implements org.h2.store.fs.FileObject {
private static final byte[] SKIP_BUFFER
private java.util.zip.ZipFile file
private java.util.zip.ZipEntry entry
private long pos
private java.io.InputStream in
private long inPos
private long length
private boolean skipUsingRead
void (java.util.zip.ZipFile, java.util.zip.ZipEntry)
public void close ()
public long getFilePointer ()
public long length ()
public void readFully (byte[], int, int) throws java.io.IOException
public void seek (long)
public void setFileLength (long) throws java.io.IOException
public void sync ()
public void write (byte[], int, int) throws java.io.IOException
public java.lang.String getName ()
public boolean tryLock ()
public void releaseLock ()
static void ()
}
org/h2/store/fs/FileSystem.classFileSystem.java
package org.h2.store.fs
public abstract org.h2.store.fs.FileSystem extends java.lang.Object {
private static String tempRandom
private static long tempSequence
private static boolean defaultServicesRegistered
private static final java.util.ArrayList SERVICES
public void ()
public static org.h2.store.fs.FileSystem getInstance (java.lang.String)
private static synchronized void registerDefaultServices ()
public static synchronized void register (org.h2.store.fs.FileSystem)
public static synchronized void unregister (org.h2.store.fs.FileSystem)
protected abstract boolean accepts (java.lang.String)
public abstract long length (java.lang.String)
public abstract void rename (java.lang.String, java.lang.String)
public abstract boolean createNewFile (java.lang.String)
public abstract boolean exists (java.lang.String)
public abstract void delete (java.lang.String)
public abstract boolean tryDelete (java.lang.String)
public abstract java.lang.String[] listFiles (java.lang.String)
public abstract void deleteRecursive (java.lang.String, boolean)
public abstract boolean isReadOnly (java.lang.String)
public abstract java.lang.String normalize (java.lang.String)
public abstract java.lang.String getParent (java.lang.String)
public abstract boolean isDirectory (java.lang.String)
public abstract boolean isAbsolute (java.lang.String)
public abstract java.lang.String getAbsolutePath (java.lang.String)
public abstract long getLastModified (java.lang.String)
public abstract boolean canWrite (java.lang.String)
public abstract void copy (java.lang.String, java.lang.String)
public void mkdirs (java.lang.String)
public abstract void createDirs (java.lang.String)
public abstract java.lang.String getFileName (java.lang.String)
public abstract boolean fileStartsWith (java.lang.String, java.lang.String)
public abstract java.io.OutputStream openFileOutputStream (java.lang.String, boolean)
public abstract org.h2.store.fs.FileObject openFileObject (java.lang.String, java.lang.String) throws java.io.IOException
public abstract java.io.InputStream openFileInputStream (java.lang.String) throws java.io.IOException
public abstract boolean setReadOnly (java.lang.String)
protected synchronized java.lang.String getNextTempFileNamePart (boolean)
public java.lang.String createTempFile (java.lang.String, java.lang.String, boolean, boolean) throws java.io.IOException
static void ()
}
org/h2/store/fs/FileSystemDisk.classFileSystemDisk.java
package org.h2.store.fs
public org.h2.store.fs.FileSystemDisk extends org.h2.store.fs.FileSystem {
private static final org.h2.store.fs.FileSystemDisk INSTANCE
private static final boolean IS_FILE_SYSTEM_CASE_INSENSITIVE
protected void ()
public static org.h2.store.fs.FileSystemDisk getInstance ()
public long length (java.lang.String)
protected java.lang.String translateFileName (java.lang.String)
public static java.lang.String expandUserHomeDirectory (java.lang.String)
public void rename (java.lang.String, java.lang.String)
protected void trace (java.lang.String, java.lang.String, java.lang.Object)
private static void wait (int)
public boolean createNewFile (java.lang.String)
public boolean exists (java.lang.String)
public void delete (java.lang.String)
public boolean tryDelete (java.lang.String)
public java.lang.String createTempFile (java.lang.String, java.lang.String, boolean, boolean) throws java.io.IOException
public java.lang.String[] listFiles (java.lang.String)
public void deleteRecursive (java.lang.String, boolean)
public boolean isReadOnly (java.lang.String)
public boolean setReadOnly (java.lang.String)
public java.lang.String normalize (java.lang.String)
public java.lang.String getParent (java.lang.String)
public boolean isDirectory (java.lang.String)
public boolean isAbsolute (java.lang.String)
public java.lang.String getAbsolutePath (java.lang.String)
public long getLastModified (java.lang.String)
public boolean canWrite (java.lang.String)
private boolean canWriteInternal (java.io.File)
public void copy (java.lang.String, java.lang.String)
public void createDirs (java.lang.String)
public java.lang.String getFileName (java.lang.String)
public boolean fileStartsWith (java.lang.String, java.lang.String)
public java.io.OutputStream openFileOutputStream (java.lang.String, boolean)
public java.io.InputStream openFileInputStream (java.lang.String) throws java.io.IOException
protected void freeMemoryAndFinalize ()
public org.h2.store.fs.FileObject openFileObject (java.lang.String, java.lang.String) throws java.io.IOException
protected boolean accepts (java.lang.String)
static void ()
}
org/h2/store/fs/FileSystemDiskNio.classFileSystemDiskNio.java
package org.h2.store.fs
public org.h2.store.fs.FileSystemDiskNio extends org.h2.store.fs.FileSystemDisk {
private static final String PREFIX
public void ()
public java.lang.String createTempFile (java.lang.String, java.lang.String, boolean, boolean) throws java.io.IOException
protected java.lang.String translateFileName (java.lang.String)
public java.io.InputStream openFileInputStream (java.lang.String) throws java.io.IOException
public java.lang.String normalize (java.lang.String)
public java.lang.String[] listFiles (java.lang.String)
public java.lang.String getParent (java.lang.String)
public java.lang.String getAbsolutePath (java.lang.String)
public org.h2.store.fs.FileObject openFileObject (java.lang.String, java.lang.String) throws java.io.IOException
protected java.lang.String getPrefix ()
protected org.h2.store.fs.FileObject open (java.lang.String, java.lang.String) throws java.io.IOException
protected boolean accepts (java.lang.String)
static void ()
}
org/h2/store/fs/FileSystemDiskNioMapped.classFileSystemDiskNioMapped.java
package org.h2.store.fs
public org.h2.store.fs.FileSystemDiskNioMapped extends org.h2.store.fs.FileSystemDiskNio {
private static final String PREFIX
public void ()
protected java.lang.String getPrefix ()
protected org.h2.store.fs.FileObject open (java.lang.String, java.lang.String) throws java.io.IOException
static void ()
}
org/h2/store/fs/FileSystemMemory.classFileSystemMemory.java
package org.h2.store.fs
public org.h2.store.fs.FileSystemMemory extends org.h2.store.fs.FileSystem {
public static final String PREFIX
public static final String PREFIX_LZF
private static final org.h2.store.fs.FileSystemMemory INSTANCE
private static final java.util.TreeMap MEMORY_FILES
private void ()
public static org.h2.store.fs.FileSystemMemory getInstance ()
public long length (java.lang.String)
public void rename (java.lang.String, java.lang.String)
public boolean createNewFile (java.lang.String)
public boolean exists (java.lang.String)
public void delete (java.lang.String)
public boolean tryDelete (java.lang.String)
public java.lang.String[] listFiles (java.lang.String)
public void deleteRecursive (java.lang.String, boolean)
public boolean isReadOnly (java.lang.String)
public boolean setReadOnly (java.lang.String)
public java.lang.String normalize (java.lang.String)
public java.lang.String getParent (java.lang.String)
public boolean isDirectory (java.lang.String)
public boolean isAbsolute (java.lang.String)
public java.lang.String getAbsolutePath (java.lang.String)
public long getLastModified (java.lang.String)
public boolean canWrite (java.lang.String)
public void copy (java.lang.String, java.lang.String)
public void createDirs (java.lang.String)
public java.lang.String getFileName (java.lang.String)
public boolean fileStartsWith (java.lang.String, java.lang.String)
public java.io.OutputStream openFileOutputStream (java.lang.String, boolean)
public java.io.InputStream openFileInputStream (java.lang.String)
public org.h2.store.fs.FileObject openFileObject (java.lang.String, java.lang.String)
private org.h2.store.fs.FileObjectMemoryData getMemoryFile (java.lang.String)
protected boolean accepts (java.lang.String)
static void ()
}
org/h2/store/fs/FileSystemSplit.classFileSystemSplit.java
package org.h2.store.fs
public org.h2.store.fs.FileSystemSplit extends org.h2.store.fs.FileSystem {
public static final String PREFIX
private static final String PART_SUFFIX
private long defaultMaxSize
public void ()
public boolean canWrite (java.lang.String)
public boolean setReadOnly (java.lang.String)
public void copy (java.lang.String, java.lang.String)
public void createDirs (java.lang.String)
public boolean createNewFile (java.lang.String)
public java.lang.String createTempFile (java.lang.String, java.lang.String, boolean, boolean) throws java.io.IOException
public void delete (java.lang.String)
public void deleteRecursive (java.lang.String, boolean)
public boolean exists (java.lang.String)
public boolean fileStartsWith (java.lang.String, java.lang.String)
public java.lang.String getAbsolutePath (java.lang.String)
public java.lang.String getFileName (java.lang.String)
public long getLastModified (java.lang.String)
public java.lang.String getParent (java.lang.String)
public boolean isAbsolute (java.lang.String)
public boolean isDirectory (java.lang.String)
public boolean isReadOnly (java.lang.String)
public long length (java.lang.String)
public java.lang.String[] listFiles (java.lang.String)
public java.lang.String normalize (java.lang.String)
public java.io.InputStream openFileInputStream (java.lang.String) throws java.io.IOException
public org.h2.store.fs.FileObject openFileObject (java.lang.String, java.lang.String) throws java.io.IOException
public java.io.OutputStream openFileOutputStream (java.lang.String, boolean)
public void rename (java.lang.String, java.lang.String)
public boolean tryDelete (java.lang.String)
private java.lang.String translateFileName (java.lang.String)
static java.lang.String getFileName (java.lang.String, int)
private org.h2.store.fs.FileSystem getFileSystem (java.lang.String)
protected boolean accepts (java.lang.String)
static void ()
}
org/h2/store/fs/FileSystemZip.classFileSystemZip.java
package org.h2.store.fs
public org.h2.store.fs.FileSystemZip extends org.h2.store.fs.FileSystem {
private static final String PREFIX
public void ()
public boolean canWrite (java.lang.String)
public void copy (java.lang.String, java.lang.String)
public void createDirs (java.lang.String)
public boolean createNewFile (java.lang.String)
public java.lang.String createTempFile (java.lang.String, java.lang.String, boolean, boolean) throws java.io.IOException
public void delete (java.lang.String)
public void deleteRecursive (java.lang.String, boolean)
public boolean exists (java.lang.String)
public boolean fileStartsWith (java.lang.String, java.lang.String)
public java.lang.String getAbsolutePath (java.lang.String)
public java.lang.String getFileName (java.lang.String)
public long getLastModified (java.lang.String)
public java.lang.String getParent (java.lang.String)
public boolean isAbsolute (java.lang.String)
public boolean isDirectory (java.lang.String)
public boolean isReadOnly (java.lang.String)
public boolean setReadOnly (java.lang.String)
public long length (java.lang.String)
public java.lang.String[] listFiles (java.lang.String)
public java.lang.String normalize (java.lang.String)
public java.io.InputStream openFileInputStream (java.lang.String) throws java.io.IOException
public org.h2.store.fs.FileObject openFileObject (java.lang.String, java.lang.String) throws java.io.IOException
public java.io.OutputStream openFileOutputStream (java.lang.String, boolean)
public void rename (java.lang.String, java.lang.String)
public boolean tryDelete (java.lang.String)
private java.lang.String translateFileName (java.lang.String)
private java.lang.String getEntryName (java.lang.String)
private java.util.zip.ZipFile openZipFile (java.lang.String) throws java.io.IOException
protected boolean accepts (java.lang.String)
static void ()
}
org/h2/store/InDoubtTransaction.classInDoubtTransaction.java
package org.h2.store
public org.h2.store.InDoubtTransaction extends java.lang.Object {
public static final int IN_DOUBT
public static final int COMMIT
public static final int ROLLBACK
private final org.h2.store.PageStore store
private final int sessionId
private final int pos
private final String transaction
private int state
public void (org.h2.store.PageStore, int, int, java.lang.String)
public void setState (int)
public java.lang.String getState ()
public java.lang.String getTransaction ()
}
org/h2/store/LobStorage$CountingReaderInputStream.classLobStorage.java
package org.h2.store
org.h2.store.LobStorage$CountingReaderInputStream extends java.io.InputStream {
private final java.io.Reader reader
private long length
private long remaining
private int pos
private char[] charBuffer
private byte[] buffer
void (java.io.Reader, long)
public int read (byte[], int, int) throws java.io.IOException
public int read () throws java.io.IOException
private void fillBuffer () throws java.io.IOException
public long getLength ()
public void close () throws java.io.IOException
}
org/h2/store/LobStorage$LobInputStream.classLobStorage.java
package org.h2.store
public org.h2.store.LobStorage$LobInputStream extends java.io.InputStream {
private final java.sql.Connection conn
private java.sql.PreparedStatement prepSelect
private byte[] buffer
private int pos
private long remainingBytes
private long lob
private int seq
private org.h2.tools.CompressTool compress
public void (java.sql.Connection, long) throws java.io.IOException
public int read () throws java.io.IOException
public int read (byte[]) throws java.io.IOException
public int read (byte[], int, int) throws java.io.IOException
private int readFully (byte[], int, int) throws java.io.IOException
private void fillBuffer () throws java.io.IOException
}
org/h2/store/LobStorage.classLobStorage.java
package org.h2.store
public org.h2.store.LobStorage extends java.lang.Object {
public static final int TABLE_ID_SESSION_VARIABLE
public static final int TABLE_TEMP
public static final String LOB_DATA_TABLE
private static final String LOB_SCHEMA
private static final String LOBS
private static final String LOB_MAP
private static final String LOB_DATA
private static final int BLOCK_LENGTH
private static final int HASH_CACHE_SIZE
private java.sql.Connection conn
private java.util.HashMap prepared
private long nextBlock
private org.h2.tools.CompressTool compress
private long[] hashBlocks
private final org.h2.store.DataHandler handler
private boolean init
public void (org.h2.store.DataHandler)
public void init ()
private long getNextLobId () throws java.sql.SQLException
public void removeAllForTable (int)
public static org.h2.value.Value createSmallLob (int, byte[])
private synchronized java.sql.PreparedStatement prepare (java.lang.String) throws java.sql.SQLException
private void deleteLob (long) throws java.sql.SQLException
public java.io.InputStream getInputStream (long) throws java.io.IOException
private org.h2.value.ValueLobDb addLob (java.io.InputStream, long, int)
private org.h2.value.ValueLobDb registerLob (int, long, int, long)
public org.h2.value.ValueLobDb copyLob (int, long, int, long)
private long getHashCacheBlock (int)
private void setHashCacheBlock (int, long)
synchronized void storeBlock (long, int, byte[], java.lang.String) throws java.sql.SQLException
public org.h2.value.Value createBlob (java.io.InputStream, long)
public org.h2.value.Value createClob (java.io.Reader, long)
public void setTable (long, int)
}
org/h2/store/Page.classPage.java
package org.h2.store
public abstract org.h2.store.Page extends org.h2.util.CacheObject {
public static final int FLAG_LAST
public static final int TYPE_EMPTY
public static final int TYPE_DATA_LEAF
public static final int TYPE_DATA_NODE
public static final int TYPE_DATA_OVERFLOW
public static final int TYPE_BTREE_LEAF
public static final int TYPE_BTREE_NODE
public static final int TYPE_FREE_LIST
public static final int TYPE_STREAM_TRUNK
public static final int TYPE_STREAM_DATA
private static final int COPY_THRESHOLD
protected int changeCount
public void ()
public abstract void moveTo (org.h2.engine.Session, int)
public abstract void write ()
public static java.lang.Object[] insert (java.lang.Object[], int, int, java.lang.Object)
public static java.lang.Object[] remove (java.lang.Object[], int, int)
protected static long[] insert (long[], int, int, long)
protected static long[] remove (long[], int, int)
protected static int[] insert (int[], int, int, int)
protected static int[] remove (int[], int, int)
protected static void add (int[], int, int, int)
public boolean canMove ()
}
org/h2/store/PageFreeList.classPageFreeList.java
package org.h2.store
public org.h2.store.PageFreeList extends org.h2.store.Page {
private static final int DATA_START
private final org.h2.store.PageStore store
private final org.h2.util.BitField used
private final int pageCount
private boolean full
private org.h2.store.Data data
private void (org.h2.store.PageStore, int)
static org.h2.store.PageFreeList read (org.h2.store.PageStore, org.h2.store.Data, int)
static org.h2.store.PageFreeList create (org.h2.store.PageStore, int)
int allocate (org.h2.util.BitField, int)
int getFirstFree (int)
int getLastUsed ()
int allocate (int)
void free (int)
private void read ()
public void write ()
public static int getPagesAddressed (int)
public int getMemory ()
boolean isUsed (int)
public void moveTo (org.h2.engine.Session, int)
public java.lang.String toString ()
public boolean canRemove ()
public boolean canMove ()
}
org/h2/store/PageInputStream.classPageInputStream.java
package org.h2.store
public org.h2.store.PageInputStream extends java.io.InputStream {
private org.h2.store.PageStore store
private final org.h2.message.Trace trace
private int firstTrunkPage
private org.h2.store.PageStreamTrunk$Iterator trunkIterator
private int dataPage
private org.h2.store.PageStreamTrunk trunk
private int trunkIndex
private org.h2.store.PageStreamData data
private int dataPos
private boolean endOfFile
private int remaining
private byte[] buffer
private int logKey
void (org.h2.store.PageStore, int, int, int)
public int read () throws java.io.IOException
public int read (byte[]) throws java.io.IOException
public int read (byte[], int, int) throws java.io.IOException
private int readBlock (byte[], int, int) throws java.io.IOException
private void fillBuffer ()
org.h2.util.BitField allocateAllPages ()
int getDataPage ()
public void close ()
}
org/h2/store/PageLog.classPageLog.java
package org.h2.store
public org.h2.store.PageLog extends java.lang.Object {
public static final int NOOP
public static final int UNDO
public static final int COMMIT
public static final int PREPARE_COMMIT
public static final int ROLLBACK
public static final int ADD
public static final int REMOVE
public static final int TRUNCATE
public static final int CHECKPOINT
public static final int FREE_LOG
static final int RECOVERY_STAGE_UNDO
static final int RECOVERY_STAGE_ALLOCATE
static final int RECOVERY_STAGE_REDO
private static final boolean COMPRESS_UNDO
private final org.h2.store.PageStore store
private org.h2.message.Trace trace
private org.h2.store.Data writeBuffer
private org.h2.store.PageInputStream pageIn
private org.h2.store.PageOutputStream pageOut
private int firstTrunkPage
private int firstDataPage
private org.h2.store.Data dataBuffer
private int logKey
private int logSectionId
private int logPos
private int firstSectionId
private org.h2.compress.CompressLZF compress
private byte[] compressBuffer
private org.h2.util.BitField undo
private org.h2.util.BitField undoAll
private org.h2.util.IntIntHashMap logSectionPageMap
private java.util.HashMap sessionStates
private org.h2.util.BitField usedLogPages
private boolean freeing
void (org.h2.store.PageStore)
void openForWriting (int, boolean)
void free ()
void openForReading (int, int, int)
void recover (int)
private void setPrepareCommit (int, int, java.lang.String)
public static org.h2.result.Row readRow (org.h2.store.DataReader, org.h2.store.Data) throws java.io.IOException
boolean getUndo (int)
void addUndo (int, org.h2.store.Data)
private void freeLogPages (org.h2.util.IntArray)
private void write (org.h2.store.Data)
void commit (int)
void prepareCommit (org.h2.engine.Session, java.lang.String)
void logAddOrRemoveRow (org.h2.engine.Session, int, org.h2.result.Row, boolean)
void logTruncate (org.h2.engine.Session, int)
void flush ()
void checkpoint ()
int getLogSectionId ()
long getLogPos ()
void removeUntil (int)
private int removeUntil (int, int)
void close ()
private boolean isSessionCommitted (int, int, int)
private void setLastCommitForSession (int, int, int)
private org.h2.store.SessionState getOrAddSessionState (int)
long getSize ()
java.util.ArrayList getInDoubtTransactions ()
void setInDoubtTransactionState (int, int, boolean)
void recoverEnd ()
private void flushOut ()
private org.h2.store.Data getBuffer ()
int getMinPageId ()
}
org/h2/store/PageOutputStream.classPageOutputStream.java
package org.h2.store
public org.h2.store.PageOutputStream extends java.lang.Object {
private org.h2.store.PageStore store
private final org.h2.message.Trace trace
private final org.h2.util.BitField exclude
private final boolean atEnd
private final int minPageId
private int trunkPageId
private int trunkNext
private org.h2.util.IntArray reservedPages
private org.h2.store.PageStreamTrunk trunk
private int trunkIndex
private org.h2.store.PageStreamData data
private int reserved
private int remaining
private boolean needFlush
private boolean writing
private int pageCount
private int logKey
public void (org.h2.store.PageStore, int, org.h2.util.BitField, int, boolean)
void reserve (int)
private void initNextData ()
public void write (byte[], int, int)
private void storePage ()
public void flush ()
public void close ()
int getCurrentDataPageId ()
void fillPage ()
long getSize ()
void free (org.h2.store.PageStreamTrunk)
void freeReserved ()
int getMinPageId ()
}
org/h2/store/PageStore.classPageStore.java
package org.h2.store
public org.h2.store.PageStore extends java.lang.Object implements org.h2.util.CacheWriter {
public static final int PAGE_SIZE_MIN
public static final int PAGE_SIZE_MAX
public static final int LOG_MODE_OFF
public static final int LOG_MODE_SYNC
private static final int PAGE_ID_FREE_LIST_ROOT
private static final int PAGE_ID_META_ROOT
private static final int MIN_PAGE_COUNT
private static final int INCREMENT_KB
private static final int INCREMENT_PERCENT_MIN
private static final int READ_VERSION
private static final int WRITE_VERSION
private static final int META_TYPE_DATA_INDEX
private static final int META_TYPE_BTREE_INDEX
private static final int META_TABLE_ID
private static final int COMPACT_BLOCK_SIZE
private org.h2.engine.Database database
private final org.h2.message.Trace trace
private String fileName
private org.h2.store.FileStore file
private String accessMode
private int pageSize
private int pageSizeShift
private long writeCountBase
private long writeCount
private long readCount
private int logKey
private int logFirstTrunkPage
private int logFirstDataPage
private org.h2.util.Cache cache
private int freeListPagesPerList
private boolean recoveryRunning
private long fileLength
private int pageCount
private org.h2.store.PageLog log
private org.h2.schema.Schema metaSchema
private org.h2.table.RegularTable metaTable
private org.h2.index.PageDataIndex metaIndex
private org.h2.util.IntIntHashMap metaRootPageId
private java.util.HashMap metaObjects
private java.util.HashMap tempObjects
private java.util.HashMap reservedPages
private boolean isNew
private long maxLogSize
private org.h2.engine.Session systemSession
private org.h2.util.BitField freed
private java.util.ArrayList freeLists
private boolean recordPageReads
private java.util.ArrayList recordedPagesList
private org.h2.util.IntIntHashMap recordedPagesIndex
private int changeCount
private org.h2.store.Data emptyPage
private long logSizeBase
private java.util.HashMap statistics
private int logMode
private boolean lockFile
public void (org.h2.engine.Database, java.lang.String, java.lang.String, int)
public void statisticsStart ()
public java.util.HashMap statisticsEnd ()
private void statisticsIncrement (java.lang.String)
public int copyDirect (int, java.io.OutputStream) throws java.io.IOException
public void open ()
private void openNew ()
private void lockFile ()
private void openExisting ()
private void removeOldTempIndexes ()
private void writeIndexRowCounts ()
private void writeBack ()
public void checkpoint ()
public void compact (int)
private int getFirstFree (int)
private void swap (int, int, int)
private boolean compact (int, int)
public org.h2.store.Page getPage (int)
private int getFirstUncommittedSection ()
private void readStaticHeader ()
private void readVariableHeader ()
public void setPageSize (int)
private void writeStaticHeader ()
void setLogFirstPage (int, int, int)
private void writeVariableHeader ()
public void close ()
public void flushLog ()
public void sync ()
public org.h2.message.Trace getTrace ()
public void writeBack (org.h2.util.CacheObject)
public void logUndo (org.h2.store.Page, org.h2.store.Data)
public void update (org.h2.store.Page)
private int getFreeListId (int)
private org.h2.store.PageFreeList getFreeListForPage (int)
private org.h2.store.PageFreeList getFreeList (int)
private void freePage (int)
void allocatePage (int)
private boolean isUsed (int)
void allocatePages (org.h2.util.IntArray, int, org.h2.util.BitField, int)
public int allocatePage ()
private int allocatePage (org.h2.util.BitField, int)
private void increaseFileSize ()
private void increaseFileSize (int)
public void free (int)
void free (int, boolean)
void freeUnused (int)
public org.h2.store.Data createData ()
public org.h2.store.Data readPage (int)
void readPage (int, org.h2.store.Data)
public int getPageSize ()
public int getPageCount ()
public void writePage (int, org.h2.store.Data)
public void removeRecord (int)
org.h2.engine.Database getDatabase ()
private void recover ()
public void logAddOrRemoveRow (org.h2.engine.Session, int, org.h2.result.Row, boolean)
public void commit (org.h2.engine.Session)
public void prepareCommit (org.h2.engine.Session, java.lang.String)
public boolean isNew ()
void allocateIfIndexRoot (int, int, org.h2.result.Row)
void redoDelete (int, int, long)
void redo (int, int, org.h2.result.Row, boolean)
void redoTruncate (int)
private void openMetaIndex ()
private void readMetaData ()
private void removeMeta (int, org.h2.result.Row)
private void addMeta (org.h2.result.Row, org.h2.engine.Session, boolean)
public void addIndex (org.h2.index.PageIndex)
public void addMeta (org.h2.index.PageIndex, org.h2.engine.Session)
public void removeMeta (org.h2.index.Index, org.h2.engine.Session)
private void removeMetaIndex (org.h2.index.Index, org.h2.engine.Session)
public void setMaxLogSize (long)
public void setInDoubtTransactionState (int, int, boolean)
public java.util.ArrayList getInDoubtTransactions ()
public boolean isRecoveryRunning ()
private void checkOpen ()
public long getWriteCountTotal ()
public long getWriteCount ()
public long getReadCount ()
public void logTruncate (org.h2.engine.Session, int)
public int getRootPageId (int)
public org.h2.util.Cache getCache ()
private void checksumSet (byte[], int)
public static boolean checksumTest (byte[], int, int)
public void incrementChangeCount ()
public int getChangeCount ()
public void setLogMode (int)
public int getLogMode ()
public void setLockFile (boolean)
}
org/h2/store/PageStreamData.classPageStreamData.java
package org.h2.store
public org.h2.store.PageStreamData extends org.h2.store.Page {
private static final int DATA_START
private final org.h2.store.PageStore store
private int trunk
private int logKey
private org.h2.store.Data data
private int remaining
private void (org.h2.store.PageStore, int, int, int)
static org.h2.store.PageStreamData read (org.h2.store.PageStore, org.h2.store.Data, int)
static org.h2.store.PageStreamData create (org.h2.store.PageStore, int, int, int)
private void read ()
void initWrite ()
int write (byte[], int, int)
public void write ()
static int getCapacity (int)
void read (int, byte[], int, int)
int getRemaining ()
public int getMemory ()
public void moveTo (org.h2.engine.Session, int)
int getLogKey ()
public java.lang.String toString ()
public boolean canRemove ()
public int getReadStart ()
public boolean canMove ()
}
org/h2/store/PageStreamTrunk$Iterator.classPageStreamTrunk.java
package org.h2.store
org.h2.store.PageStreamTrunk$Iterator extends java.lang.Object {
private org.h2.store.PageStore store
private int first
private int next
private int previous
private boolean canDelete
private int current
void (org.h2.store.PageStore, int)
int getCurrentPageId ()
org.h2.store.PageStreamTrunk next ()
boolean canDelete ()
}
org/h2/store/PageStreamTrunk.classPageStreamTrunk.java
package org.h2.store
public org.h2.store.PageStreamTrunk extends org.h2.store.Page {
private static final int DATA_START
int parent
int nextTrunk
private final org.h2.store.PageStore store
private int logKey
private int[] pageIds
private int pageCount
private org.h2.store.Data data
private void (org.h2.store.PageStore, int, int, int, int, int[])
private void (org.h2.store.PageStore, org.h2.store.Data, int)
static org.h2.store.PageStreamTrunk read (org.h2.store.PageStore, org.h2.store.Data, int)
static org.h2.store.PageStreamTrunk create (org.h2.store.PageStore, int, int, int, int, int[])
private void read ()
int getPageData (int)
public void write ()
static int getPagesAddressed (int)
boolean contains (int)
int free (int)
public int getMemory ()
public void moveTo (org.h2.engine.Session, int)
int getLogKey ()
public int getNextTrunk ()
public boolean canRemove ()
public java.lang.String toString ()
public boolean canMove ()
}
org/h2/store/SessionState.classSessionState.java
package org.h2.store
org.h2.store.SessionState extends java.lang.Object {
public int sessionId
public int lastCommitLog
public int lastCommitPos
public org.h2.store.InDoubtTransaction inDoubtTransaction
void ()
public boolean isCommitted (int, int)
public java.lang.String toString ()
}
org/h2/store/WriterThread.classWriterThread.java
package org.h2.store
public org.h2.store.WriterThread extends java.lang.Object implements java.lang.Runnable {
private volatile java.lang.ref.WeakReference databaseRef
private int writeDelay
private Thread thread
private volatile boolean stop
private void (org.h2.engine.Database, int)
public void setWriteDelay (int)
public static org.h2.store.WriterThread create (org.h2.engine.Database, int)
public void run ()
public void stopThread ()
public void startThread ()
}
org/h2/table/Column.classColumn.java
package org.h2.table
public org.h2.table.Column extends java.lang.Object {
public static final int NOT_NULLABLE
public static final int NULLABLE
public static final int NULLABLE_UNKNOWN
private final int type
private final long precision
private final int scale
private final int displaySize
private org.h2.table.Table table
private String name
private int columnId
private boolean nullable
private org.h2.expression.Expression defaultExpression
private org.h2.expression.Expression checkConstraint
private String checkConstraintSQL
private String originalSQL
private boolean autoIncrement
private long start
private long increment
private boolean convertNullToDefault
private org.h2.schema.Sequence sequence
private boolean isComputed
private org.h2.table.TableFilter computeTableFilter
private int selectivity
private org.h2.table.SingleColumnResolver resolver
private String comment
private boolean primaryKey
public void (java.lang.String, int)
public void (java.lang.String, int, long, int, int)
public boolean equals (java.lang.Object)
public int hashCode ()
public org.h2.table.Column getClone ()
public org.h2.value.Value convert (org.h2.value.Value)
boolean getComputed ()
org.h2.value.Value computeValue (org.h2.engine.Session, org.h2.result.Row)
public void setComputedExpression (org.h2.expression.Expression)
public void setTable (org.h2.table.Table, int)
public org.h2.table.Table getTable ()
public void setDefaultExpression (org.h2.engine.Session, org.h2.expression.Expression)
public int getColumnId ()
public java.lang.String getSQL ()
public java.lang.String getName ()
public int getType ()
public long getPrecision ()
public int getDisplaySize ()
public int getScale ()
public void setNullable (boolean)
public org.h2.value.Value validateConvertUpdateSequence (org.h2.engine.Session, org.h2.value.Value)
private void updateSequenceIfRequired (org.h2.engine.Session, org.h2.value.Value)
public void convertAutoIncrementToSequence (org.h2.engine.Session, org.h2.schema.Schema, int, boolean)
public void prepareExpression (org.h2.engine.Session)
public java.lang.String getCreateSQL ()
public boolean isNullable ()
public void setOriginalSQL (java.lang.String)
public java.lang.String getOriginalSQL ()
public org.h2.expression.Expression getDefaultExpression ()
public boolean isAutoIncrement ()
public void setAutoIncrement (boolean, long, long)
public void setConvertNullToDefault (boolean)
public void rename (java.lang.String)
public void setSequence (org.h2.schema.Sequence)
public org.h2.schema.Sequence getSequence ()
public int getSelectivity ()
public void setSelectivity (int)
public void addCheckConstraint (org.h2.engine.Session, org.h2.expression.Expression)
public org.h2.expression.Expression getCheckConstraint (org.h2.engine.Session, java.lang.String)
java.lang.String getDefaultSQL ()
int getPrecisionAsInt ()
org.h2.value.DataType getDataType ()
java.lang.String getCheckConstraintSQL (org.h2.engine.Session, java.lang.String)
public void setComment (java.lang.String)
public java.lang.String getComment ()
public void setPrimaryKey (boolean)
boolean isEverything (org.h2.expression.ExpressionVisitor)
public boolean isPrimaryKey ()
public java.lang.String toString ()
}
org/h2/table/ColumnResolver.classColumnResolver.java
package org.h2.table
public abstract org.h2.table.ColumnResolver extends java.lang.Object {
public abstract java.lang.String getTableAlias ()
public abstract org.h2.table.Column[] getColumns ()
public abstract org.h2.table.Column[] getSystemColumns ()
public abstract java.lang.String getSchemaName ()
public abstract org.h2.value.Value getValue (org.h2.table.Column)
public abstract org.h2.table.TableFilter getTableFilter ()
public abstract org.h2.command.dml.Select getSelect ()
public abstract org.h2.expression.Expression optimize (org.h2.expression.ExpressionColumn, org.h2.table.Column)
}
org/h2/table/FunctionTable.classFunctionTable.java
package org.h2.table
public org.h2.table.FunctionTable extends org.h2.table.Table {
private final org.h2.expression.FunctionCall function
private final long rowCount
private org.h2.expression.Expression functionExpr
private org.h2.result.LocalResult cachedResult
private org.h2.value.Value cachedValue
public void (org.h2.schema.Schema, org.h2.engine.Session, org.h2.expression.Expression, org.h2.expression.FunctionCall)
public void lock (org.h2.engine.Session, boolean, boolean)
public void close (org.h2.engine.Session)
public void unlock (org.h2.engine.Session)
public boolean isLockedExclusively ()
public org.h2.index.Index addIndex (org.h2.engine.Session, java.lang.String, int, org.h2.table.IndexColumn[], org.h2.index.IndexType, boolean, java.lang.String)
public void removeRow (org.h2.engine.Session, org.h2.result.Row)
public void truncate (org.h2.engine.Session)
public boolean canDrop ()
public void addRow (org.h2.engine.Session, org.h2.result.Row)
public void checkSupportAlter ()
public java.lang.String getTableType ()
public org.h2.index.Index getScanIndex (org.h2.engine.Session)
public java.util.ArrayList getIndexes ()
public boolean canGetRowCount ()
public long getRowCount (org.h2.engine.Session)
public java.lang.String getCreateSQL ()
public java.lang.String getDropSQL ()
public void checkRename ()
public org.h2.result.ResultInterface getResult (org.h2.engine.Session)
public java.sql.ResultSet getResultSet (org.h2.engine.Session)
private org.h2.value.ValueResultSet getValueResultSet (org.h2.engine.Session)
public boolean isFast ()
public long getMaxDataModificationId ()
public org.h2.index.Index getUniqueIndex ()
public java.lang.String getSQL ()
public long getRowCountApproximation ()
public boolean isDeterministic ()
public boolean canReference ()
}
org/h2/table/IndexColumn.classIndexColumn.java
package org.h2.table
public org.h2.table.IndexColumn extends java.lang.Object {
public String columnName
public org.h2.table.Column column
public int sortType
public void ()
public java.lang.String getSQL ()
public static org.h2.table.IndexColumn[] wrap (org.h2.table.Column[])
public static void mapColumns (org.h2.table.IndexColumn[], org.h2.table.Table)
}
org/h2/table/LinkSchema.classLinkSchema.java
package org.h2.table
public org.h2.table.LinkSchema extends java.lang.Object {
private void ()
public static java.sql.ResultSet linkSchema (java.sql.Connection, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String)
}
org/h2/table/MetaTable.classMetaTable.java
package org.h2.table
public org.h2.table.MetaTable extends org.h2.table.Table {
public static final long ROW_COUNT_APPROXIMATION
private static final String CHARACTER_SET_NAME
private static final int TABLES
private static final int COLUMNS
private static final int INDEXES
private static final int TABLE_TYPES
private static final int TYPE_INFO
private static final int CATALOGS
private static final int SETTINGS
private static final int HELP
private static final int SEQUENCES
private static final int USERS
private static final int ROLES
private static final int RIGHTS
private static final int FUNCTION_ALIASES
private static final int SCHEMATA
private static final int TABLE_PRIVILEGES
private static final int COLUMN_PRIVILEGES
private static final int COLLATIONS
private static final int VIEWS
private static final int IN_DOUBT
private static final int CROSS_REFERENCES
private static final int CONSTRAINTS
private static final int FUNCTION_COLUMNS
private static final int CONSTANTS
private static final int DOMAINS
private static final int TRIGGERS
private static final int SESSIONS
private static final int LOCKS
private static final int SESSION_STATE
private static final int META_TABLE_TYPE_COUNT
private final int type
private final int indexColumn
private org.h2.index.MetaIndex metaIndex
public void (org.h2.schema.Schema, int, int)
private transient org.h2.table.Column[] createColumns (java.lang.String[])
public java.lang.String getDropSQL ()
public java.lang.String getCreateSQL ()
public org.h2.index.Index addIndex (org.h2.engine.Session, java.lang.String, int, org.h2.table.IndexColumn[], org.h2.index.IndexType, boolean, java.lang.String)
public void lock (org.h2.engine.Session, boolean, boolean)
public boolean isLockedExclusively ()
private java.lang.String identifier (java.lang.String)
private java.util.ArrayList getAllTables (org.h2.engine.Session)
private boolean checkIndex (org.h2.engine.Session, java.lang.String, org.h2.value.Value, org.h2.value.Value)
private java.lang.String replaceNullWithEmpty (java.lang.String)
public java.util.ArrayList generateRows (org.h2.engine.Session, org.h2.result.SearchRow, org.h2.result.SearchRow)
private int getRefAction (int)
public void removeRow (org.h2.engine.Session, org.h2.result.Row)
public void addRow (org.h2.engine.Session, org.h2.result.Row)
public void removeChildrenAndResources (org.h2.engine.Session)
public void close (org.h2.engine.Session)
public void unlock (org.h2.engine.Session)
private void addPrivileges (java.util.ArrayList, org.h2.engine.DbObject, java.lang.String, org.h2.table.Table, java.lang.String, int)
private void addPrivilege (java.util.ArrayList, org.h2.engine.DbObject, java.lang.String, org.h2.table.Table, java.lang.String, java.lang.String)
private transient void add (java.util.ArrayList, java.lang.String[])
public void checkRename ()
public void checkSupportAlter ()
public void truncate (org.h2.engine.Session)
public long getRowCount (org.h2.engine.Session)
public boolean canGetRowCount ()
public boolean canDrop ()
public java.lang.String getTableType ()
public org.h2.index.Index getScanIndex (org.h2.engine.Session)
public java.util.ArrayList getIndexes ()
public long getMaxDataModificationId ()
public org.h2.index.Index getUniqueIndex ()
public static int getMetaTableTypeCount ()
public long getRowCountApproximation ()
public boolean isDeterministic ()
public boolean canReference ()
}
org/h2/table/Plan$1.classPlan.java
package org.h2.table
org.h2.table.Plan$1 extends java.lang.Object implements org.h2.table.TableFilter$TableFilterVisitor {
final synthetic java.util.ArrayList val$all
final synthetic java.util.ArrayList val$allCond
final synthetic org.h2.table.Plan this$0
void (org.h2.table.Plan, java.util.ArrayList, java.util.ArrayList)
public void accept (org.h2.table.TableFilter)
}
org/h2/table/Plan.classPlan.java
package org.h2.table
public org.h2.table.Plan extends java.lang.Object {
private final org.h2.table.TableFilter[] filters
private final java.util.HashMap planItems
private final org.h2.expression.Expression[] allConditions
private final org.h2.table.TableFilter[] allFilters
public void (org.h2.table.TableFilter[], int, org.h2.expression.Expression)
public org.h2.table.PlanItem getItem (org.h2.table.TableFilter)
public org.h2.table.TableFilter[] getFilters ()
public void removeUnusableIndexConditions ()
public double calculateCost (org.h2.engine.Session)
private void setEvaluatable (org.h2.table.TableFilter, boolean)
}
org/h2/table/PlanItem.classPlanItem.java
package org.h2.table
public org.h2.table.PlanItem extends java.lang.Object {
double cost
private org.h2.index.Index index
private org.h2.table.PlanItem joinPlan
private org.h2.table.PlanItem nestedJoinPlan
public void ()
void setIndex (org.h2.index.Index)
public org.h2.index.Index getIndex ()
org.h2.table.PlanItem getJoinPlan ()
org.h2.table.PlanItem getNestedJoinPlan ()
void setJoinPlan (org.h2.table.PlanItem)
void setNestedJoinPlan (org.h2.table.PlanItem)
}
org/h2/table/RangeTable.classRangeTable.java
package org.h2.table
public org.h2.table.RangeTable extends org.h2.table.Table {
public static final String NAME
private org.h2.expression.Expression min
private org.h2.expression.Expression max
private boolean optimized
public void (org.h2.schema.Schema, org.h2.expression.Expression, org.h2.expression.Expression, boolean)
public java.lang.String getDropSQL ()
public java.lang.String getCreateSQL ()
public java.lang.String getSQL ()
public void lock (org.h2.engine.Session, boolean, boolean)
public void close (org.h2.engine.Session)
public void unlock (org.h2.engine.Session)
public boolean isLockedExclusively ()
public org.h2.index.Index addIndex (org.h2.engine.Session, java.lang.String, int, org.h2.table.IndexColumn[], org.h2.index.IndexType, boolean, java.lang.String)
public void removeRow (org.h2.engine.Session, org.h2.result.Row)
public void addRow (org.h2.engine.Session, org.h2.result.Row)
public void checkSupportAlter ()
public void checkRename ()
public boolean canGetRowCount ()
public boolean canDrop ()
public long getRowCount (org.h2.engine.Session)
public java.lang.String getTableType ()
public org.h2.index.Index getScanIndex (org.h2.engine.Session)
public long getMin (org.h2.engine.Session)
public long getMax (org.h2.engine.Session)
private void optimize (org.h2.engine.Session)
public java.util.ArrayList getIndexes ()
public void truncate (org.h2.engine.Session)
public long getMaxDataModificationId ()
public org.h2.index.Index getUniqueIndex ()
public long getRowCountApproximation ()
public boolean isDeterministic ()
public boolean canReference ()
}
org/h2/table/RegularTable$1.classRegularTable.java
package org.h2.table
org.h2.table.RegularTable$1 extends java.lang.Object implements java.util.Comparator {
final synthetic org.h2.index.Index val$idx
final synthetic org.h2.table.RegularTable this$0
void (org.h2.table.RegularTable, org.h2.index.Index)
public int compare (org.h2.result.Row, org.h2.result.Row)
public volatile synthetic int compare (java.lang.Object, java.lang.Object)
}
org/h2/table/RegularTable.classRegularTable.java
package org.h2.table
public org.h2.table.RegularTable extends org.h2.table.TableBase {
private org.h2.index.Index scanIndex
private long rowCount
private volatile org.h2.engine.Session lockExclusive
private java.util.HashSet lockShared
private org.h2.message.Trace traceLock
private final java.util.ArrayList indexes
private long lastModificationId
private boolean containsLargeObject
private org.h2.index.PageDataIndex mainIndex
private int changesSinceAnalyze
private int nextAnalyze
private boolean waitForLock
public void (org.h2.command.ddl.CreateTableData)
public void close (org.h2.engine.Session)
public org.h2.result.Row getRow (org.h2.engine.Session, long)
public void addRow (org.h2.engine.Session, org.h2.result.Row)
public void commit (short, org.h2.result.Row)
private void checkRowCount (org.h2.engine.Session, org.h2.index.Index, int)
public org.h2.index.Index getScanIndex (org.h2.engine.Session)
public org.h2.index.Index getUniqueIndex ()
public java.util.ArrayList getIndexes ()
public org.h2.index.Index addIndex (org.h2.engine.Session, java.lang.String, int, org.h2.table.IndexColumn[], org.h2.index.IndexType, boolean, java.lang.String)
private int getMainIndexColumn (org.h2.index.IndexType, org.h2.table.IndexColumn[])
public boolean canGetRowCount ()
private void addRowsToIndex (org.h2.engine.Session, java.util.ArrayList, org.h2.index.Index)
public boolean canDrop ()
public long getRowCount (org.h2.engine.Session)
public void removeRow (org.h2.engine.Session, org.h2.result.Row)
public void truncate (org.h2.engine.Session)
private void analyzeIfRequired (org.h2.engine.Session)
public boolean isLockedExclusivelyBy (org.h2.engine.Session)
public void lock (org.h2.engine.Session, boolean, boolean)
private void doLock (org.h2.engine.Session, int, boolean)
private java.lang.String getDeadlockDetails (java.util.ArrayList)
public java.util.ArrayList checkDeadlock (org.h2.engine.Session, org.h2.engine.Session, java.util.Set)
private void traceLock (org.h2.engine.Session, boolean, java.lang.String)
public boolean isLockedExclusively ()
public void unlock (org.h2.engine.Session)
public org.h2.result.Row createRow (org.h2.value.Value[])
public void setRowCount (long)
public void removeChildrenAndResources (org.h2.engine.Session)
public java.lang.String toString ()
public void checkRename ()
public void checkSupportAlter ()
public boolean canTruncate ()
public java.lang.String getTableType ()
public long getMaxDataModificationId ()
public boolean getContainsLargeObject ()
public long getRowCountApproximation ()
public void setCompareMode (org.h2.value.CompareMode)
public boolean isDeterministic ()
}
org/h2/table/SingleColumnResolver.classSingleColumnResolver.java
package org.h2.table
public org.h2.table.SingleColumnResolver extends java.lang.Object implements org.h2.table.ColumnResolver {
private final org.h2.table.Column column
private org.h2.value.Value value
void (org.h2.table.Column)
public java.lang.String getTableAlias ()
void setValue (org.h2.value.Value)
public org.h2.value.Value getValue (org.h2.table.Column)
public org.h2.table.Column[] getColumns ()
public java.lang.String getSchemaName ()
public org.h2.table.TableFilter getTableFilter ()
public org.h2.command.dml.Select getSelect ()
public org.h2.table.Column[] getSystemColumns ()
public org.h2.expression.Expression optimize (org.h2.expression.ExpressionColumn, org.h2.table.Column)
}
org/h2/table/Table.classTable.java
package org.h2.table
public abstract org.h2.table.Table extends org.h2.schema.SchemaObjectBase {
public static final int TYPE_CACHED
public static final int TYPE_MEMORY
public static final String TABLE_LINK
public static final String SYSTEM_TABLE
public static final String TABLE
public static final String VIEW
public static final String EXTERNAL_TABLE_ENGINE
protected org.h2.table.Column[] columns
protected org.h2.value.CompareMode compareMode
protected boolean isHidden
private final java.util.HashMap columnMap
private boolean persistIndexes
private boolean persistData
private java.util.ArrayList triggers
private java.util.ArrayList constraints
private java.util.ArrayList sequences
private java.util.ArrayList views
private boolean checkForeignKeyConstraints
private boolean onCommitDrop
private boolean onCommitTruncate
private org.h2.result.Row nullRow
public void (org.h2.schema.Schema, int, java.lang.String, boolean, boolean)
public void rename (java.lang.String)
public abstract void lock (org.h2.engine.Session, boolean, boolean)
public abstract void close (org.h2.engine.Session)
public abstract void unlock (org.h2.engine.Session)
public abstract org.h2.index.Index addIndex (org.h2.engine.Session, java.lang.String, int, org.h2.table.IndexColumn[], org.h2.index.IndexType, boolean, java.lang.String)
public abstract void removeRow (org.h2.engine.Session, org.h2.result.Row)
public abstract void truncate (org.h2.engine.Session)
public abstract void addRow (org.h2.engine.Session, org.h2.result.Row)
public void commit (short, org.h2.result.Row)
public abstract void checkSupportAlter ()
public abstract java.lang.String getTableType ()
public abstract org.h2.index.Index getScanIndex (org.h2.engine.Session)
public abstract org.h2.index.Index getUniqueIndex ()
public abstract java.util.ArrayList getIndexes ()
public abstract boolean isLockedExclusively ()
public abstract long getMaxDataModificationId ()
public abstract boolean isDeterministic ()
public abstract boolean canGetRowCount ()
public boolean canReference ()
public abstract boolean canDrop ()
public abstract long getRowCount (org.h2.engine.Session)
public abstract long getRowCountApproximation ()
public java.lang.String getCreateSQLForCopy (org.h2.table.Table, java.lang.String)
public void addDependencies (java.util.HashSet)
public java.util.ArrayList getChildren ()
protected void setColumns (org.h2.table.Column[])
public void renameColumn (org.h2.table.Column, java.lang.String)
public boolean isLockedExclusivelyBy (org.h2.engine.Session)
public void updateRows (org.h2.command.Prepared, org.h2.engine.Session, org.h2.result.RowList)
public java.util.ArrayList getViews ()
public void removeChildrenAndResources (org.h2.engine.Session)
public void checkColumnIsNotReferenced (org.h2.table.Column)
public org.h2.result.Row getTemplateRow ()
public org.h2.result.SearchRow getTemplateSimpleRow (boolean)
org.h2.result.Row getNullRow ()
public org.h2.table.Column[] getColumns ()
public int getType ()
public org.h2.table.Column getColumn (int)
public org.h2.table.Column getColumn (java.lang.String)
public org.h2.table.PlanItem getBestPlanItem (org.h2.engine.Session, int[])
public org.h2.index.Index findPrimaryKey ()
public org.h2.index.Index getPrimaryKey ()
public void validateConvertUpdateSequence (org.h2.engine.Session, org.h2.result.Row)
private void remove (java.util.ArrayList, org.h2.engine.DbObject)
public void removeIndex (org.h2.index.Index)
void removeView (org.h2.table.TableView)
public void removeConstraint (org.h2.constraint.Constraint)
public void removeSequence (org.h2.engine.Session, org.h2.schema.Sequence)
public void removeTrigger (org.h2.schema.TriggerObject)
public void addView (org.h2.table.TableView)
public void addConstraint (org.h2.constraint.Constraint)
public java.util.ArrayList getConstraints ()
public void addSequence (org.h2.schema.Sequence)
public void addTrigger (org.h2.schema.TriggerObject)
private java.util.ArrayList add (java.util.ArrayList, java.lang.Object)
public void fire (org.h2.engine.Session, int, boolean)
public boolean hasSelectTrigger ()
public boolean fireRow ()
public boolean fireBeforeRow (org.h2.engine.Session, org.h2.result.Row, org.h2.result.Row)
private void fireConstraints (org.h2.engine.Session, org.h2.result.Row, org.h2.result.Row, boolean)
public void fireAfterRow (org.h2.engine.Session, org.h2.result.Row, org.h2.result.Row, boolean)
private boolean fireRow (org.h2.engine.Session, org.h2.result.Row, org.h2.result.Row, boolean, boolean)
public boolean isGlobalTemporary ()
public boolean canTruncate ()
public void setCheckForeignKeyConstraints (org.h2.engine.Session, boolean, boolean)
public boolean getCheckForeignKeyConstraints ()
public org.h2.index.Index getIndexForColumn (org.h2.table.Column, boolean)
public boolean getOnCommitDrop ()
public void setOnCommitDrop (boolean)
public boolean getOnCommitTruncate ()
public void setOnCommitTruncate (boolean)
public void removeIndexOrTransferOwnership (org.h2.engine.Session, org.h2.index.Index)
public java.util.ArrayList checkDeadlock (org.h2.engine.Session, org.h2.engine.Session, java.util.Set)
public boolean isPersistIndexes ()
public boolean isPersistData ()
public int compareTypeSave (org.h2.value.Value, org.h2.value.Value)
public org.h2.value.CompareMode getCompareMode ()
public void checkWritingAllowed ()
public org.h2.value.Value getDefaultValue (org.h2.engine.Session, org.h2.table.Column)
public boolean isHidden ()
}
org/h2/table/TableBase.classTableBase.java
package org.h2.table
public abstract org.h2.table.TableBase extends org.h2.table.Table {
protected final String tableEngine
private final boolean globalTemporary
public void (org.h2.command.ddl.CreateTableData)
public java.lang.String getDropSQL ()
public java.lang.String getCreateSQL ()
public boolean isGlobalTemporary ()
}
org/h2/table/TableFilter$1.classTableFilter.java
package org.h2.table
org.h2.table.TableFilter$1 extends java.lang.Object implements org.h2.table.TableFilter$TableFilterVisitor {
final synthetic org.h2.table.TableFilter this$0
void (org.h2.table.TableFilter)
public void accept (org.h2.table.TableFilter)
}
org/h2/table/TableFilter$2.classTableFilter.java
package org.h2.table
org.h2.table.TableFilter$2 extends java.lang.Object implements org.h2.table.TableFilter$TableFilterVisitor {
final synthetic org.h2.expression.Expression val$on
final synthetic org.h2.table.TableFilter this$0
void (org.h2.table.TableFilter, org.h2.expression.Expression)
public void accept (org.h2.table.TableFilter)
}
org/h2/table/TableFilter$3.classTableFilter.java
package org.h2.table
org.h2.table.TableFilter$3 extends java.lang.Object implements org.h2.table.TableFilter$TableFilterVisitor {
final synthetic org.h2.expression.Expression val$on
final synthetic org.h2.table.TableFilter this$0
void (org.h2.table.TableFilter, org.h2.expression.Expression)
public void accept (org.h2.table.TableFilter)
}
org/h2/table/TableFilter$4.classTableFilter.java
package org.h2.table
org.h2.table.TableFilter$4 extends java.lang.Object implements org.h2.table.TableFilter$TableFilterVisitor {
final synthetic org.h2.table.TableFilter this$0
void (org.h2.table.TableFilter)
public void accept (org.h2.table.TableFilter)
}
org/h2/table/TableFilter$5.classTableFilter.java
package org.h2.table
org.h2.table.TableFilter$5 extends java.lang.Object implements org.h2.table.TableFilter$TableFilterVisitor {
final synthetic org.h2.table.TableFilter this$0
void (org.h2.table.TableFilter)
public void accept (org.h2.table.TableFilter)
}
org/h2/table/TableFilter$TableFilterVisitor.classTableFilter.java
package org.h2.table
public abstract org.h2.table.TableFilter$TableFilterVisitor extends java.lang.Object {
public abstract void accept (org.h2.table.TableFilter)
}
org/h2/table/TableFilter.classTableFilter.java
package org.h2.table
public org.h2.table.TableFilter extends java.lang.Object implements org.h2.table.ColumnResolver {
private static final int BEFORE_FIRST
private static final int FOUND
private static final int AFTER_LAST
private static final int NULL_ROW
protected org.h2.engine.Session session
protected boolean joinOuterIndirect
private final org.h2.table.Table table
private final org.h2.command.dml.Select select
private String alias
private org.h2.index.Index index
private int scanCount
private boolean evaluatable
private boolean used
private final org.h2.index.IndexCursor cursor
private final java.util.ArrayList indexConditions
private org.h2.expression.Expression filterCondition
private org.h2.expression.Expression joinCondition
private org.h2.result.SearchRow currentSearchRow
private org.h2.result.Row current
private int state
private org.h2.table.TableFilter join
private boolean joinOuter
private org.h2.table.TableFilter nestedJoin
private java.util.ArrayList naturalJoinColumns
private boolean foundOne
private org.h2.expression.Expression fullCondition
private final int hashCode
public void (org.h2.engine.Session, org.h2.table.Table, java.lang.String, boolean, org.h2.command.dml.Select)
public org.h2.command.dml.Select getSelect ()
public org.h2.table.Table getTable ()
public void lock (org.h2.engine.Session, boolean, boolean)
public org.h2.table.PlanItem getBestPlanItem (org.h2.engine.Session, int)
private void setEvaluatable (org.h2.table.TableFilter)
public void setPlanItem (org.h2.table.PlanItem)
public void prepare ()
public void startQuery (org.h2.engine.Session)
public void reset ()
public boolean next ()
protected void setNullRow ()
private void checkTimeout ()
private boolean isOk (org.h2.expression.Expression)
public org.h2.result.Row get ()
public void set (org.h2.result.Row)
public java.lang.String getTableAlias ()
public void addIndexCondition (org.h2.index.IndexCondition)
public void addFilterCondition (org.h2.expression.Expression, boolean)
public void addJoin (org.h2.table.TableFilter, boolean, boolean, org.h2.expression.Expression)
public void mapAndAddFilter (org.h2.expression.Expression)
public org.h2.table.TableFilter getJoin ()
public boolean isJoinOuter ()
public boolean isJoinOuterIndirect ()
public java.lang.String getPlanSQL (boolean)
void removeUnusableIndexConditions ()
public org.h2.index.Index getIndex ()
public void setIndex (org.h2.index.Index)
public void setUsed (boolean)
public boolean isUsed ()
void setSession (org.h2.engine.Session)
public void removeJoin ()
public org.h2.expression.Expression getJoinCondition ()
public void removeJoinCondition ()
public org.h2.expression.Expression getFilterCondition ()
public void removeFilterCondition ()
public void setFullCondition (org.h2.expression.Expression)
void optimizeFullCondition (boolean)
public void setEvaluatable (org.h2.table.TableFilter, boolean)
public void setEvaluatable (boolean)
public java.lang.String getSchemaName ()
public org.h2.table.Column[] getColumns ()
public org.h2.table.Column[] getSystemColumns ()
public org.h2.value.Value getValue (org.h2.table.Column)
public org.h2.table.TableFilter getTableFilter ()
public void setAlias (java.lang.String)
public org.h2.expression.Expression optimize (org.h2.expression.ExpressionColumn, org.h2.table.Column)
public java.lang.String toString ()
public void addNaturalJoinColumn (org.h2.table.Column)
public boolean isNaturalJoinColumn (org.h2.table.Column)
public int hashCode ()
public boolean hasInComparisons ()
public void lockRowAdd (java.util.ArrayList)
public void lockRows (java.util.ArrayList)
public org.h2.table.TableFilter getNestedJoin ()
public void visit (org.h2.table.TableFilter$TableFilterVisitor)
public boolean isEvaluatable ()
}
org/h2/table/TableLink.classTableLink.java
package org.h2.table
public org.h2.table.TableLink extends org.h2.table.Table {
private static final long ROW_COUNT_APPROXIMATION
private String driver
private String url
private String user
private String password
private String originalSchema
private String originalTable
private String qualifiedTableName
private org.h2.table.TableLinkConnection conn
private java.util.HashMap preparedMap
private final java.util.ArrayList indexes
private final boolean emitUpdates
private org.h2.index.LinkedIndex linkedIndex
private org.h2.message.DbException connectException
private boolean storesLowerCase
private boolean storesMixedCase
private boolean supportsMixedCaseIdentifiers
private boolean globalTemporary
private boolean readOnly
public void (org.h2.schema.Schema, int, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, boolean, boolean)
private void connect ()
private void readMetaData () throws java.sql.SQLException
private long convertPrecision (int, long)
private java.lang.String convertColumnName (java.lang.String)
private void addIndex (java.util.ArrayList, org.h2.index.IndexType)
public java.lang.String getDropSQL ()
public java.lang.String getCreateSQL ()
public org.h2.index.Index addIndex (org.h2.engine.Session, java.lang.String, int, org.h2.table.IndexColumn[], org.h2.index.IndexType, boolean, java.lang.String)
public void lock (org.h2.engine.Session, boolean, boolean)
public boolean isLockedExclusively ()
public org.h2.index.Index getScanIndex (org.h2.engine.Session)
private void checkReadOnly ()
public void removeRow (org.h2.engine.Session, org.h2.result.Row)
public void addRow (org.h2.engine.Session, org.h2.result.Row)
public void close (org.h2.engine.Session)
public synchronized long getRowCount (org.h2.engine.Session)
public org.h2.message.DbException wrapException (java.lang.String, java.lang.Exception)
public java.lang.String getQualifiedTable ()
public java.sql.PreparedStatement getPreparedStatement (java.lang.String, boolean)
public void unlock (org.h2.engine.Session)
public void checkRename ()
public void checkSupportAlter ()
public void truncate (org.h2.engine.Session)
public boolean canGetRowCount ()
public boolean canDrop ()
public java.lang.String getTableType ()
public void removeChildrenAndResources (org.h2.engine.Session)
public boolean isOracle ()
public java.util.ArrayList getIndexes ()
public long getMaxDataModificationId ()
public org.h2.index.Index getUniqueIndex ()
public void updateRows (org.h2.command.Prepared, org.h2.engine.Session, org.h2.result.RowList)
public void setGlobalTemporary (boolean)
public void setReadOnly (boolean)
public org.h2.table.TableLinkConnection getConnection ()
public long getRowCountApproximation ()
public void reusePreparedStatement (java.sql.PreparedStatement, java.lang.String)
public boolean isDeterministic ()
public void checkWritingAllowed ()
public void validateConvertUpdateSequence (org.h2.engine.Session, org.h2.result.Row)
public org.h2.value.Value getDefaultValue (org.h2.engine.Session, org.h2.table.Column)
}
org/h2/table/TableLinkConnection.classTableLinkConnection.java
package org.h2.table
public org.h2.table.TableLinkConnection extends java.lang.Object {
private java.util.HashMap map
private final String driver
private final String url
private final String user
private final String password
private java.sql.Connection conn
private int useCounter
private void (java.util.HashMap, java.lang.String, java.lang.String, java.lang.String, java.lang.String)
public static org.h2.table.TableLinkConnection open (java.util.HashMap, java.lang.String, java.lang.String, java.lang.String, java.lang.String, boolean)
private void open ()
public int hashCode ()
public boolean equals (java.lang.Object)
java.sql.Connection getConnection ()
synchronized void close ()
}
org/h2/table/TableView.classTableView.java
package org.h2.table
public org.h2.table.TableView extends org.h2.table.Table {
private static final long ROW_COUNT_APPROXIMATION
private String querySQL
private java.util.ArrayList tables
private final String[] columnNames
private org.h2.command.dml.Query viewQuery
private org.h2.index.ViewIndex index
private boolean recursive
private org.h2.message.DbException createException
private org.h2.util.SmallLRUCache indexCache
private long lastModificationCheck
private long maxDataModificationId
private org.h2.engine.User owner
private org.h2.command.dml.Query topQuery
private org.h2.result.ResultInterface recursiveResult
private boolean tableExpression
public void (org.h2.schema.Schema, int, java.lang.String, java.lang.String, java.util.ArrayList, java.lang.String[], org.h2.engine.Session, boolean)
public org.h2.command.dml.Query recompileQuery (org.h2.engine.Session)
private void initColumnsAndTables (org.h2.engine.Session)
public boolean isInvalid ()
public org.h2.table.PlanItem getBestPlanItem (org.h2.engine.Session, int[])
public java.lang.String getDropSQL ()
public java.lang.String getCreateSQL ()
public java.lang.String getCreateSQL (boolean, boolean)
public void checkRename ()
public void lock (org.h2.engine.Session, boolean, boolean)
public void close (org.h2.engine.Session)
public void unlock (org.h2.engine.Session)
public boolean isLockedExclusively ()
public org.h2.index.Index addIndex (org.h2.engine.Session, java.lang.String, int, org.h2.table.IndexColumn[], org.h2.index.IndexType, boolean, java.lang.String)
public void removeRow (org.h2.engine.Session, org.h2.result.Row)
public void addRow (org.h2.engine.Session, org.h2.result.Row)
public void checkSupportAlter ()
public void truncate (org.h2.engine.Session)
public long getRowCount (org.h2.engine.Session)
public boolean canGetRowCount ()
public boolean canDrop ()
public java.lang.String getTableType ()
public void removeChildrenAndResources (org.h2.engine.Session)
public java.lang.String getSQL ()
public java.lang.String getQuery ()
public org.h2.index.Index getScanIndex (org.h2.engine.Session)
public java.util.ArrayList getIndexes ()
public void recompile (org.h2.engine.Session)
public long getMaxDataModificationId ()
public org.h2.index.Index getUniqueIndex ()
private void removeViewFromTables ()
private void addViewToTables ()
private void setOwner (org.h2.engine.User)
public org.h2.engine.User getOwner ()
public static org.h2.table.TableView createTempView (org.h2.engine.Session, org.h2.engine.User, java.lang.String, org.h2.command.dml.Query, org.h2.command.dml.Query)
private void setTopQuery (org.h2.command.dml.Query)
public long getRowCountApproximation ()
public int getParameterOffset ()
public boolean isDeterministic ()
public void setRecursiveResult (org.h2.result.ResultInterface)
public org.h2.result.ResultInterface getRecursiveResult ()
public void setTableExpression (boolean)
public boolean isTableExpression ()
}
org/h2/tools/Backup.classBackup.java
package org.h2.tools
public org.h2.tools.Backup extends org.h2.util.Tool {
public void ()
public static transient void main (java.lang.String[]) throws java.sql.SQLException
public transient void runTool (java.lang.String[]) throws java.sql.SQLException
public static void execute (java.lang.String, java.lang.String, java.lang.String, boolean) throws java.sql.SQLException
private void process (java.lang.String, java.lang.String, java.lang.String, boolean) throws java.sql.SQLException
}
org/h2/tools/ChangeFileEncryption.classChangeFileEncryption.java
package org.h2.tools
public org.h2.tools.ChangeFileEncryption extends org.h2.util.Tool {
private String directory
private String cipherType
private byte[] decrypt
private byte[] encrypt
public void ()
public static transient void main (java.lang.String[]) throws java.sql.SQLException
public transient void runTool (java.lang.String[]) throws java.sql.SQLException
private static byte[] getFileEncryptionKey (char[])
public static void execute (java.lang.String, java.lang.String, java.lang.String, char[], char[], boolean) throws java.sql.SQLException
private void process (java.lang.String, java.lang.String, java.lang.String, char[], char[], boolean) throws java.sql.SQLException
private void process (java.lang.String)
private void copy (java.lang.String, org.h2.store.FileStore, byte[])
}
org/h2/tools/CompressTool.classCompressTool.java
package org.h2.tools
public org.h2.tools.CompressTool extends java.lang.Object {
private static final int MAX_BUFFER_SIZE
private byte[] cachedBuffer
private void ()
private byte[] getBuffer (int)
public static org.h2.tools.CompressTool getInstance ()
public byte[] compress (byte[], java.lang.String)
public int compress (byte[], int, org.h2.compress.Compressor, byte[])
public byte[] expand (byte[])
public void expand (byte[], byte[], int)
private int readInt (byte[], int)
private int writeInt (byte[], int, int)
private int getLength (int)
private org.h2.compress.Compressor getCompressor (java.lang.String)
public int getCompressAlgorithm (java.lang.String)
private org.h2.compress.Compressor getCompressor (int)
public static java.io.OutputStream wrapOutputStream (java.io.OutputStream, java.lang.String, java.lang.String)
public static java.io.InputStream wrapInputStream (java.io.InputStream, java.lang.String, java.lang.String)
}
org/h2/tools/Console.classConsole.java
package org.h2.tools
public org.h2.tools.Console extends org.h2.util.Tool implements java.awt.event.ActionListener java.awt.event.MouseListener java.awt.event.WindowListener org.h2.server.ShutdownHandler {
private java.awt.Frame frame
private boolean trayIcon
private java.awt.Font font
private java.awt.Button startBrowser
private java.awt.TextField urlText
private org.h2.tools.Server web
private org.h2.tools.Server tcp
private org.h2.tools.Server pg
private boolean isWindows
private long lastOpen
public void ()
public static transient void main (java.lang.String[]) throws java.sql.SQLException
public transient void runTool (java.lang.String[]) throws java.sql.SQLException
private void printProblem (java.lang.Exception, org.h2.tools.Server)
private java.awt.Image loadImage (java.lang.String)
public void shutdown ()
void stopAll ()
private void loadFont ()
private boolean createTrayIcon ()
private void showWindow ()
private void startBrowser ()
public void actionPerformed (java.awt.event.ActionEvent)
public void mouseClicked (java.awt.event.MouseEvent)
public void mouseEntered (java.awt.event.MouseEvent)
public void mouseExited (java.awt.event.MouseEvent)
public void mousePressed (java.awt.event.MouseEvent)
public void mouseReleased (java.awt.event.MouseEvent)
public void windowClosing (java.awt.event.WindowEvent)
public void windowActivated (java.awt.event.WindowEvent)
public void windowClosed (java.awt.event.WindowEvent)
public void windowDeactivated (java.awt.event.WindowEvent)
public void windowDeiconified (java.awt.event.WindowEvent)
public void windowIconified (java.awt.event.WindowEvent)
public void windowOpened (java.awt.event.WindowEvent)
}
org/h2/tools/ConvertTraceFile$Stat.classConvertTraceFile.java
package org.h2.tools
org.h2.tools.ConvertTraceFile$Stat extends java.lang.Object implements java.lang.Comparable {
String sql
int executeCount
long time
long resultCount
void ()
public int compareTo (org.h2.tools.ConvertTraceFile$Stat)
public volatile synthetic int compareTo (java.lang.Object)
}
org/h2/tools/ConvertTraceFile.classConvertTraceFile.java
package org.h2.tools
public org.h2.tools.ConvertTraceFile extends org.h2.util.Tool {
private java.util.HashMap stats
private long timeTotal
public void ()
public static transient void main (java.lang.String[]) throws java.sql.SQLException
public transient void runTool (java.lang.String[]) throws java.sql.SQLException
private void convertFile (java.lang.String, java.lang.String, java.lang.String) throws java.io.IOException
private java.lang.String removeNewlines (java.lang.String)
private java.lang.String padNumberLeft (long, int)
private void addToStats (java.lang.String, int, int)
}
org/h2/tools/CreateCluster.classCreateCluster.java
package org.h2.tools
public org.h2.tools.CreateCluster extends org.h2.util.Tool {
public void ()
public static transient void main (java.lang.String[]) throws java.sql.SQLException
public transient void runTool (java.lang.String[]) throws java.sql.SQLException
public void execute (java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String) throws java.sql.SQLException
private void process (java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String) throws java.sql.SQLException
}
org/h2/tools/Csv.classCsv.java
package org.h2.tools
public org.h2.tools.Csv extends java.lang.Object implements org.h2.tools.SimpleRowSource {
private String streamCharset
private String[] columnNames
private char fieldSeparatorRead
private char commentLineStart
private String fieldSeparatorWrite
private String rowSeparatorWrite
private char fieldDelimiter
private char escapeCharacter
private String lineSeparator
private String nullString
private String fileName
private java.io.Reader input
private char[] inputBuffer
private int inputBufferPos
private int inputBufferStart
private int inputBufferEnd
private java.io.Writer output
private boolean endOfLine
private boolean endOfFile
private void ()
public static org.h2.tools.Csv getInstance ()
private int writeResultSet (java.sql.ResultSet) throws java.sql.SQLException
public int write (java.io.Writer, java.sql.ResultSet) throws java.sql.SQLException
public int write (java.lang.String, java.sql.ResultSet, java.lang.String) throws java.sql.SQLException
public int write (java.sql.Connection, java.lang.String, java.lang.String, java.lang.String) throws java.sql.SQLException
public java.sql.ResultSet read (java.lang.String, java.lang.String[], java.lang.String) throws java.sql.SQLException
public java.sql.ResultSet read (java.io.Reader, java.lang.String[]) throws java.io.IOException
private java.sql.ResultSet readResultSet (java.lang.String[]) throws java.io.IOException
private void makeColumnNamesUnique ()
private void init (java.lang.String, java.lang.String)
private void initWrite () throws java.io.IOException
private void writeRow (java.lang.String[]) throws java.io.IOException
private java.lang.String escape (java.lang.String)
private void initRead () throws java.io.IOException
private void readHeader () throws java.io.IOException
private boolean isSimpleColumnName (java.lang.String)
private void pushBack ()
private int readChar () throws java.io.IOException
private int readBuffer () throws java.io.IOException
private java.lang.String readValue () throws java.io.IOException
private java.lang.String readNull (java.lang.String)
private java.lang.String unEscape (java.lang.String)
public java.lang.Object[] readRow () throws java.sql.SQLException
private java.sql.SQLException convertException (java.lang.String, java.lang.Exception)
public void close ()
public void reset () throws java.sql.SQLException
public void setFieldSeparatorWrite (java.lang.String)
public java.lang.String getFieldSeparatorWrite ()
public void setFieldSeparatorRead (char)
public char getFieldSeparatorRead ()
public java.lang.String getRowSeparatorWrite ()
public void setRowSeparatorWrite (java.lang.String)
public void setFieldDelimiter (char)
public char getFieldDelimiter ()
public void setEscapeCharacter (char)
public char getEscapeCharacter ()
public void setLineSeparator (java.lang.String)
public void setNullString (java.lang.String)
public java.lang.String getNullString ()
}
org/h2/tools/DeleteDbFiles.classDeleteDbFiles.java
package org.h2.tools
public org.h2.tools.DeleteDbFiles extends org.h2.util.Tool {
public void ()
public static transient void main (java.lang.String[]) throws java.sql.SQLException
public transient void runTool (java.lang.String[]) throws java.sql.SQLException
public static void execute (java.lang.String, java.lang.String, boolean) throws java.sql.SQLException
private void process (java.lang.String, java.lang.String, boolean) throws java.sql.SQLException
private void process (java.lang.String, boolean)
}
org/h2/tools/MultiDimension.classMultiDimension.java
package org.h2.tools
public org.h2.tools.MultiDimension extends java.lang.Object implements java.util.Comparator {
private static final org.h2.tools.MultiDimension INSTANCE
private void ()
public static org.h2.tools.MultiDimension getInstance ()
public int normalize (int, double, double, double)
public int getMaxValue (int)
private int getBitsPerValue (int)
public transient long interleave (int[])
public long interleave (int, int)
public int deinterleave (int, long, int)
public java.lang.String generatePreparedQuery (java.lang.String, java.lang.String, java.lang.String[])
public java.sql.ResultSet getResult (java.sql.PreparedStatement, int[], int[]) throws java.sql.SQLException
private long[][] getMortonRanges (int[], int[])
private int getSize (int[], int[], int)
private void combineEntries (java.util.ArrayList, int)
public int compare (long[], long[])
private void addMortonRanges (java.util.ArrayList, int[], int[], int, int)
private int roundUp (int, int)
private int findMiddle (int, int)
public volatile synthetic int compare (java.lang.Object, java.lang.Object)
static void ()
}
org/h2/tools/Recover$1.classRecover.java
package org.h2.tools
org.h2.tools.Recover$1 extends java.io.OutputStream {
final synthetic org.h2.tools.Recover this$0
void (org.h2.tools.Recover)
public void write (int)
}
org/h2/tools/Recover$PageInputStream.classRecover.java
package org.h2.tools
org.h2.tools.Recover$PageInputStream extends java.io.InputStream {
private final java.io.PrintWriter writer
private final org.h2.store.FileStore store
private final org.h2.store.Data page
private final int pageSize
private long trunkPage
private long dataPage
private org.h2.util.IntArray dataPages
private boolean endOfFile
private int remaining
private int logKey
public void (java.io.PrintWriter, org.h2.store.DataHandler, org.h2.store.FileStore, int, long, long, int)
public int read ()
public int read (byte[])
public int read (byte[], int, int)
private int readBlock (byte[], int, int)
private void fillBuffer ()
}
org/h2/tools/Recover$Stats.classRecover.java
package org.h2.tools
org.h2.tools.Recover$Stats extends java.lang.Object {
long pageDataEmpty
int pageDataRows
int pageDataHead
int[] pageTypeCount
int free
void ()
}
org/h2/tools/Recover.classRecover.java
package org.h2.tools
public org.h2.tools.Recover extends org.h2.util.Tool implements org.h2.store.DataHandler {
private String databaseName
private int block
private int storageId
private String storageName
private int recordLength
private int valueId
private boolean trace
private java.util.ArrayList schema
private java.util.HashSet objectIdSet
private java.util.HashMap tableMap
private java.util.HashMap columnTypeMap
private boolean remove
private int pageSize
private org.h2.store.FileStore store
private int[] parents
private org.h2.tools.Recover$Stats stat
public void ()
public static transient void main (java.lang.String[]) throws java.sql.SQLException
public transient void runTool (java.lang.String[]) throws java.sql.SQLException
public static java.io.Reader readClob (java.lang.String) throws java.io.IOException
public static java.io.InputStream readBlob (java.lang.String) throws java.io.IOException
public static org.h2.value.Value$ValueBlob readBlobDb (java.sql.Connection, long, long)
public static org.h2.value.Value$ValueClob readClobDb (java.sql.Connection, long, long)
private void trace (java.lang.String)
private void traceError (java.lang.String, java.lang.Throwable)
public static void execute (java.lang.String, java.lang.String) throws java.sql.SQLException
private void process (java.lang.String, java.lang.String)
private java.io.PrintWriter getWriter (java.lang.String, java.lang.String)
private void writeDataError (java.io.PrintWriter, java.lang.String, byte[])
private void dumpLob (java.lang.String, boolean)
private java.lang.String getSQL (java.lang.String, org.h2.value.Value)
private void setDatabaseName (java.lang.String)
private void dumpPageStore (java.lang.String)
private void dumpPageStore (java.io.PrintWriter, long)
private void dumpPageLogStream (java.io.PrintWriter, int, int, int) throws java.io.IOException
private java.lang.String setStorage (int)
private void dumpPageBtreeNode (java.io.PrintWriter, org.h2.store.Data, long, boolean)
private int dumpPageFreeList (java.io.PrintWriter, org.h2.store.Data, long, long)
private void dumpPageBtreeLeaf (java.io.PrintWriter, org.h2.store.Data, int, boolean)
private void checkParent (java.io.PrintWriter, long, int[], int)
private void dumpPageDataNode (java.io.PrintWriter, org.h2.store.Data, long, int)
private void dumpPageDataLeaf (java.io.PrintWriter, org.h2.store.Data, boolean, long, int, int)
private void seek (long)
private org.h2.value.Value[] createRecord (java.io.PrintWriter, org.h2.store.Data, int)
private void writeRow (java.io.PrintWriter, org.h2.store.Data, org.h2.value.Value[])
private void resetSchema ()
private void writeSchema (java.io.PrintWriter)
private void createTemporaryTable (java.io.PrintWriter)
private java.lang.String extractTableOrViewName (java.lang.String)
private void closeSilently (org.h2.store.FileStore)
private void writeError (java.io.PrintWriter, java.lang.Throwable)
public java.lang.String getDatabasePath ()
public org.h2.store.FileStore openFile (java.lang.String, java.lang.String, boolean)
public void checkPowerOff ()
public void checkWritingAllowed ()
public void freeUpDiskSpace ()
public int getMaxLengthInplaceLob ()
public java.lang.String getLobCompressionAlgorithm (int)
public java.lang.Object getLobSyncObject ()
public org.h2.util.SmallLRUCache getLobFileListCache ()
public org.h2.util.TempFileDeleter getTempFileDeleter ()
public org.h2.store.LobStorage getLobStorage ()
public java.sql.Connection getLobConnection ()
}
org/h2/tools/Restore.classRestore.java
package org.h2.tools
public org.h2.tools.Restore extends org.h2.util.Tool {
public void ()
public static transient void main (java.lang.String[]) throws java.sql.SQLException
public transient void runTool (java.lang.String[]) throws java.sql.SQLException
private static java.lang.String getOriginalDbName (java.lang.String, java.lang.String) throws java.io.IOException
public static void execute (java.lang.String, java.lang.String, java.lang.String, boolean) throws java.sql.SQLException
private void process (java.lang.String, java.lang.String, java.lang.String) throws java.sql.SQLException
}
org/h2/tools/RunScript.classRunScript.java
package org.h2.tools
public org.h2.tools.RunScript extends org.h2.util.Tool {
private boolean showResults
private boolean checkResults
public void ()
public static transient void main (java.lang.String[]) throws java.sql.SQLException
public transient void runTool (java.lang.String[]) throws java.sql.SQLException
public static java.sql.ResultSet execute (java.sql.Connection, java.io.Reader) throws java.sql.SQLException
private java.sql.ResultSet process (java.sql.Connection, java.io.Reader) throws java.sql.SQLException
private void process (java.sql.Connection, java.lang.String, boolean, java.lang.String) throws java.sql.SQLException java.io.IOException
private void process (java.sql.Connection, boolean, java.lang.String, java.io.Reader, java.lang.String) throws java.sql.SQLException java.io.IOException
private static void processRunscript (java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String) throws java.sql.SQLException
public static void execute (java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, boolean) throws java.sql.SQLException
void process (java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, boolean) throws java.sql.SQLException
}
org/h2/tools/Script.classScript.java
package org.h2.tools
public org.h2.tools.Script extends org.h2.util.Tool {
public void ()
public static transient void main (java.lang.String[]) throws java.sql.SQLException
public transient void runTool (java.lang.String[]) throws java.sql.SQLException
private void processScript (java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String) throws java.sql.SQLException
public static void execute (java.lang.String, java.lang.String, java.lang.String, java.lang.String) throws java.sql.SQLException
public static void execute (java.lang.String, java.lang.String, java.lang.String, java.io.OutputStream) throws java.sql.SQLException
void process (java.lang.String, java.lang.String, java.lang.String, java.lang.String) throws java.sql.SQLException
void process (java.lang.String, java.lang.String, java.lang.String, java.io.OutputStream) throws java.sql.SQLException
void process (java.sql.Connection, java.io.OutputStream) throws java.sql.SQLException
}
org/h2/tools/Server.classServer.java
package org.h2.tools
public org.h2.tools.Server extends org.h2.util.Tool implements java.lang.Runnable org.h2.server.ShutdownHandler {
private org.h2.server.Service service
private org.h2.tools.Server web
private org.h2.tools.Server tcp
private org.h2.tools.Server pg
private org.h2.server.ShutdownHandler shutdownHandler
public void ()
public transient void (org.h2.server.Service, java.lang.String[]) throws java.sql.SQLException
public static transient void main (java.lang.String[]) throws java.sql.SQLException
public transient void runTool (java.lang.String[]) throws java.sql.SQLException
public static void shutdownTcpServer (java.lang.String, java.lang.String, boolean, boolean) throws java.sql.SQLException
public java.lang.String getStatus ()
public static transient org.h2.tools.Server createWebServer (java.lang.String[]) throws java.sql.SQLException
public static transient org.h2.tools.Server createTcpServer (java.lang.String[]) throws java.sql.SQLException
public static transient org.h2.tools.Server createPgServer (java.lang.String[]) throws java.sql.SQLException
public org.h2.tools.Server start () throws java.sql.SQLException
private static void wait (int)
private void stopAll ()
public boolean isRunning (boolean)
public void stop ()
public java.lang.String getURL ()
public int getPort ()
public void run ()
public void setShutdownHandler (org.h2.server.ShutdownHandler)
public void shutdown ()
public org.h2.server.Service getService ()
public static void openBrowser (java.lang.String)
public static void startWebServer (java.sql.Connection) throws java.sql.SQLException
}
org/h2/tools/Shell.classShell.java
package org.h2.tools
public org.h2.tools.Shell extends org.h2.util.Tool implements java.lang.Runnable {
private static final int HISTORY_COUNT
private java.io.PrintStream err
private java.io.InputStream in
private java.io.BufferedReader reader
private java.sql.Connection conn
private java.sql.Statement stat
private boolean listMode
private int maxColumnSize
private char boxVertical
private java.util.ArrayList history
private boolean stopHide
private String serverPropertiesDir
public void ()
public static transient void main (java.lang.String[]) throws java.sql.SQLException
public void setErr (java.io.PrintStream)
public void setIn (java.io.InputStream)
public void setInReader (java.io.BufferedReader)
public transient void runTool (java.lang.String[]) throws java.sql.SQLException
private void showHelp ()
private void promptLoop ()
private boolean isNumber (java.lang.String)
private void connect () throws java.io.IOException java.sql.SQLException
protected void print (java.lang.String)
private void println (java.lang.String)
private java.lang.String readPassword () throws java.io.IOException
public void run ()
private java.lang.String readLine (java.lang.String) throws java.io.IOException
private java.lang.String readLine () throws java.io.IOException
private void execute (java.lang.String)
private int printResult (java.sql.ResultSet, boolean) throws java.sql.SQLException
}
org/h2/tools/SimpleResultSet$Column.classSimpleResultSet.java
package org.h2.tools
org.h2.tools.SimpleResultSet$Column extends java.lang.Object {
String name
int sqlType
int precision
int scale
void ()
}
org/h2/tools/SimpleResultSet$SimpleArray.classSimpleResultSet.java
package org.h2.tools
public org.h2.tools.SimpleResultSet$SimpleArray extends java.lang.Object implements java.sql.Array {
private Object[] value
void (java.lang.Object[])
public java.lang.Object getArray ()
public java.lang.Object getArray (java.util.Map) throws java.sql.SQLException
public java.lang.Object getArray (long, int) throws java.sql.SQLException
public java.lang.Object getArray (long, int, java.util.Map) throws java.sql.SQLException
public int getBaseType ()
public java.lang.String getBaseTypeName ()
public java.sql.ResultSet getResultSet () throws java.sql.SQLException
public java.sql.ResultSet getResultSet (java.util.Map) throws java.sql.SQLException
public java.sql.ResultSet getResultSet (long, int) throws java.sql.SQLException
public java.sql.ResultSet getResultSet (long, int, java.util.Map) throws java.sql.SQLException
public void free ()
}
org/h2/tools/SimpleResultSet.classSimpleResultSet.java
package org.h2.tools
public org.h2.tools.SimpleResultSet extends java.lang.Object implements java.sql.ResultSet java.sql.ResultSetMetaData {
private java.util.ArrayList rows
private Object[] currentRow
private int rowId
private boolean wasNull
private org.h2.tools.SimpleRowSource source
private java.util.ArrayList columns
public void ()
public void (org.h2.tools.SimpleRowSource)
public void addColumn (java.lang.String, int, int, int)
public transient void addRow (java.lang.Object[])
public int getConcurrency ()
public int getFetchDirection ()
public int getFetchSize ()
public int getRow ()
public int getType ()
public void close ()
public boolean next () throws java.sql.SQLException
public void beforeFirst () throws java.sql.SQLException
public boolean wasNull ()
public byte getByte (int) throws java.sql.SQLException
public double getDouble (int) throws java.sql.SQLException
public float getFloat (int) throws java.sql.SQLException
public int getInt (int) throws java.sql.SQLException
public long getLong (int) throws java.sql.SQLException
public short getShort (int) throws java.sql.SQLException
public boolean getBoolean (int) throws java.sql.SQLException
public byte[] getBytes (int) throws java.sql.SQLException
public java.lang.Object getObject (int) throws java.sql.SQLException
public java.lang.String getString (int) throws java.sql.SQLException
public byte getByte (java.lang.String) throws java.sql.SQLException
public double getDouble (java.lang.String) throws java.sql.SQLException
public float getFloat (java.lang.String) throws java.sql.SQLException
public int findColumn (java.lang.String) throws java.sql.SQLException
public int getInt (java.lang.String) throws java.sql.SQLException
public long getLong (java.lang.String) throws java.sql.SQLException
public short getShort (java.lang.String) throws java.sql.SQLException
public boolean getBoolean (java.lang.String) throws java.sql.SQLException
public byte[] getBytes (java.lang.String) throws java.sql.SQLException
public java.math.BigDecimal getBigDecimal (int) throws java.sql.SQLException
public java.sql.Date getDate (int) throws java.sql.SQLException
public java.sql.ResultSetMetaData getMetaData ()
public java.sql.SQLWarning getWarnings ()
public java.sql.Statement getStatement ()
public java.sql.Time getTime (int) throws java.sql.SQLException
public java.sql.Timestamp getTimestamp (int) throws java.sql.SQLException
public java.sql.Array getArray (int) throws java.sql.SQLException
public java.lang.Object getObject (java.lang.String) throws java.sql.SQLException
public java.lang.String getString (java.lang.String) throws java.sql.SQLException
public java.math.BigDecimal getBigDecimal (java.lang.String) throws java.sql.SQLException
public java.sql.Date getDate (java.lang.String) throws java.sql.SQLException
public java.sql.Time getTime (java.lang.String) throws java.sql.SQLException
public java.sql.Timestamp getTimestamp (java.lang.String) throws java.sql.SQLException
public java.sql.Array getArray (java.lang.String) throws java.sql.SQLException
public int getColumnCount ()
public int getColumnDisplaySize (int)
public int getColumnType (int) throws java.sql.SQLException
public int getPrecision (int) throws java.sql.SQLException
public int getScale (int) throws java.sql.SQLException
public int isNullable (int)
public boolean isAutoIncrement (int)
public boolean isCaseSensitive (int)
public boolean isCurrency (int)
public boolean isDefinitelyWritable (int)
public boolean isReadOnly (int)
public boolean isSearchable (int)
public boolean isSigned (int)
public boolean isWritable (int)
public java.lang.String getCatalogName (int)
public java.lang.String getColumnClassName (int)
public java.lang.String getColumnLabel (int) throws java.sql.SQLException
public java.lang.String getColumnName (int) throws java.sql.SQLException
public java.lang.String getColumnTypeName (int)
public java.lang.String getSchemaName (int)
public java.lang.String getTableName (int)
public void clearWarnings ()
public void afterLast () throws java.sql.SQLException
public void cancelRowUpdates () throws java.sql.SQLException
public void updateNull (java.lang.String) throws java.sql.SQLException
public void deleteRow () throws java.sql.SQLException
public void insertRow () throws java.sql.SQLException
public void moveToCurrentRow () throws java.sql.SQLException
public void moveToInsertRow () throws java.sql.SQLException
public void refreshRow () throws java.sql.SQLException
public void updateRow () throws java.sql.SQLException
public boolean first () throws java.sql.SQLException
public boolean isAfterLast () throws java.sql.SQLException
public boolean isBeforeFirst () throws java.sql.SQLException
public boolean isFirst () throws java.sql.SQLException
public boolean isLast () throws java.sql.SQLException
public boolean last () throws java.sql.SQLException
public boolean previous () throws java.sql.SQLException
public boolean rowDeleted () throws java.sql.SQLException
public boolean rowInserted () throws java.sql.SQLException
public boolean rowUpdated () throws java.sql.SQLException
public void setFetchDirection (int) throws java.sql.SQLException
public void setFetchSize (int) throws java.sql.SQLException
public void updateNull (int) throws java.sql.SQLException
public boolean absolute (int) throws java.sql.SQLException
public boolean relative (int) throws java.sql.SQLException
public void updateByte (int, byte) throws java.sql.SQLException
public void updateDouble (int, double) throws java.sql.SQLException
public void updateFloat (int, float) throws java.sql.SQLException
public void updateInt (int, int) throws java.sql.SQLException
public void updateLong (int, long) throws java.sql.SQLException
public void updateShort (int, short) throws java.sql.SQLException
public void updateBoolean (int, boolean) throws java.sql.SQLException
public void updateBytes (int, byte[]) throws java.sql.SQLException
public java.io.InputStream getAsciiStream (int)
public java.io.InputStream getBinaryStream (int)
public java.io.InputStream getUnicodeStream (int)
public void updateAsciiStream (int, java.io.InputStream, int) throws java.sql.SQLException
public void updateBinaryStream (int, java.io.InputStream, int) throws java.sql.SQLException
public java.io.Reader getCharacterStream (int) throws java.sql.SQLException
public void updateCharacterStream (int, java.io.Reader, int) throws java.sql.SQLException
public void updateObject (int, java.lang.Object) throws java.sql.SQLException
public void updateObject (int, java.lang.Object, int) throws java.sql.SQLException
public java.lang.String getCursorName () throws java.sql.SQLException
public void updateString (int, java.lang.String) throws java.sql.SQLException
public void updateByte (java.lang.String, byte) throws java.sql.SQLException
public void updateDouble (java.lang.String, double) throws java.sql.SQLException
public void updateFloat (java.lang.String, float) throws java.sql.SQLException
public void updateInt (java.lang.String, int) throws java.sql.SQLException
public void updateLong (java.lang.String, long) throws java.sql.SQLException
public void updateShort (java.lang.String, short) throws java.sql.SQLException
public void updateBoolean (java.lang.String, boolean) throws java.sql.SQLException
public void updateBytes (java.lang.String, byte[]) throws java.sql.SQLException
public java.math.BigDecimal getBigDecimal (int, int) throws java.sql.SQLException
public void updateBigDecimal (int, java.math.BigDecimal) throws java.sql.SQLException
public java.net.URL getURL (int) throws java.sql.SQLException
public void updateArray (int, java.sql.Array) throws java.sql.SQLException
public java.sql.Blob getBlob (int) throws java.sql.SQLException
public void updateBlob (int, java.sql.Blob) throws java.sql.SQLException
public java.sql.Clob getClob (int) throws java.sql.SQLException
public void updateClob (int, java.sql.Clob) throws java.sql.SQLException
public void updateDate (int, java.sql.Date) throws java.sql.SQLException
public java.sql.Ref getRef (int) throws java.sql.SQLException
public void updateRef (int, java.sql.Ref) throws java.sql.SQLException
public void updateTime (int, java.sql.Time) throws java.sql.SQLException
public void updateTimestamp (int, java.sql.Timestamp) throws java.sql.SQLException
public java.io.InputStream getAsciiStream (java.lang.String) throws java.sql.SQLException
public java.io.InputStream getBinaryStream (java.lang.String) throws java.sql.SQLException
public java.io.InputStream getUnicodeStream (java.lang.String) throws java.sql.SQLException
public void updateAsciiStream (java.lang.String, java.io.InputStream, int) throws java.sql.SQLException
public void updateBinaryStream (java.lang.String, java.io.InputStream, int) throws java.sql.SQLException
public java.io.Reader getCharacterStream (java.lang.String) throws java.sql.SQLException
public void updateCharacterStream (java.lang.String, java.io.Reader, int) throws java.sql.SQLException
public void updateObject (java.lang.String, java.lang.Object) throws java.sql.SQLException
public void updateObject (java.lang.String, java.lang.Object, int) throws java.sql.SQLException
public java.lang.Object getObject (int, java.util.Map) throws java.sql.SQLException
public void updateString (java.lang.String, java.lang.String) throws java.sql.SQLException
public java.math.BigDecimal getBigDecimal (java.lang.String, int) throws java.sql.SQLException
public void updateBigDecimal (java.lang.String, java.math.BigDecimal) throws java.sql.SQLException
public java.net.URL getURL (java.lang.String) throws java.sql.SQLException
public void updateArray (java.lang.String, java.sql.Array) throws java.sql.SQLException
public java.sql.Blob getBlob (java.lang.String) throws java.sql.SQLException
public void updateBlob (java.lang.String, java.sql.Blob) throws java.sql.SQLException
public java.sql.Clob getClob (java.lang.String) throws java.sql.SQLException
public void updateClob (java.lang.String, java.sql.Clob) throws java.sql.SQLException
public void updateDate (java.lang.String, java.sql.Date) throws java.sql.SQLException
public java.sql.Date getDate (int, java.util.Calendar) throws java.sql.SQLException
public java.sql.Ref getRef (java.lang.String) throws java.sql.SQLException
public void updateRef (java.lang.String, java.sql.Ref) throws java.sql.SQLException
public void updateTime (java.lang.String, java.sql.Time) throws java.sql.SQLException
public java.sql.Time getTime (int, java.util.Calendar) throws java.sql.SQLException
public void updateTimestamp (java.lang.String, java.sql.Timestamp) throws java.sql.SQLException
public java.sql.Timestamp getTimestamp (int, java.util.Calendar) throws java.sql.SQLException
public java.lang.Object getObject (java.lang.String, java.util.Map) throws java.sql.SQLException
public java.sql.Date getDate (java.lang.String, java.util.Calendar) throws java.sql.SQLException
public java.sql.Time getTime (java.lang.String, java.util.Calendar) throws java.sql.SQLException
public java.sql.Timestamp getTimestamp (java.lang.String, java.util.Calendar) throws java.sql.SQLException
static java.sql.SQLException getUnsupportedException ()
private void checkColumnIndex (int) throws java.sql.SQLException
private java.lang.Object get (int) throws java.sql.SQLException
private org.h2.tools.SimpleResultSet$Column getColumn (int) throws java.sql.SQLException
public int getHoldability ()
public boolean isClosed ()
}
org/h2/tools/SimpleRowSource.classSimpleRowSource.java
package org.h2.tools
public abstract org.h2.tools.SimpleRowSource extends java.lang.Object {
public abstract java.lang.Object[] readRow () throws java.sql.SQLException
public abstract void close ()
public abstract void reset () throws java.sql.SQLException
}
org/h2/tools/TriggerAdapter$TriggerRowSource.classTriggerAdapter.java
package org.h2.tools
org.h2.tools.TriggerAdapter$TriggerRowSource extends java.lang.Object implements org.h2.tools.SimpleRowSource {
private Object[] row
void ()
void setRow (java.lang.Object[])
public java.lang.Object[] readRow ()
public void close ()
public void reset ()
}
org/h2/tools/TriggerAdapter.classTriggerAdapter.java
package org.h2.tools
public abstract org.h2.tools.TriggerAdapter extends java.lang.Object implements org.h2.api.Trigger {
private org.h2.tools.SimpleResultSet oldResultSet
private org.h2.tools.SimpleResultSet newResultSet
private org.h2.tools.TriggerAdapter$TriggerRowSource oldSource
private org.h2.tools.TriggerAdapter$TriggerRowSource newSource
public void ()
public void init (java.sql.Connection, java.lang.String, java.lang.String, java.lang.String, boolean, int) throws java.sql.SQLException
public void fire (java.sql.Connection, java.lang.Object[], java.lang.Object[]) throws java.sql.SQLException
public abstract void fire (java.sql.Connection, java.sql.ResultSet, java.sql.ResultSet) throws java.sql.SQLException
private org.h2.tools.SimpleResultSet wrap (org.h2.tools.SimpleResultSet, org.h2.tools.TriggerAdapter$TriggerRowSource, java.lang.Object[]) throws java.sql.SQLException
public void remove () throws java.sql.SQLException
public void close () throws java.sql.SQLException
}
org/h2/upgrade/DbUpgrade.classDbUpgrade.java
package org.h2.upgrade
public org.h2.upgrade.DbUpgrade extends java.lang.Object {
private static boolean upgradeClassesPresent
private static java.util.Map runningConversions
public void ()
public static boolean areUpgradeClassesPresent ()
public static java.sql.Connection connectWithOldVersion (java.lang.String, java.util.Properties) throws java.sql.SQLException
public static synchronized void upgrade (java.lang.String, java.util.Properties) throws java.sql.SQLException
static void ()
}
org/h2/upgrade/DbUpgradeFromVersion1.classDbUpgradeFromVersion1.java
package org.h2.upgrade
public org.h2.upgrade.DbUpgradeFromVersion1 extends java.lang.Object {
private static boolean scriptInTempDir
private static boolean deleteOldDb
private String url
private java.util.Properties info
private boolean mustBeConverted
private String newName
private String newUrl
private String oldUrl
private java.io.File oldDataFile
private java.io.File oldIndexFile
private java.io.File oldLobsDir
private java.io.File newFile
private java.io.File backupDataFile
private java.io.File backupIndexFile
private java.io.File backupLobsDir
private boolean successful
public void (java.lang.String, java.util.Properties) throws java.sql.SQLException
private void init () throws java.sql.SQLException
public boolean mustBeConverted () throws java.sql.SQLException
public void upgrade () throws java.sql.SQLException
public boolean wasSuccessful ()
public static void setScriptInTempDir (boolean)
public static void setDeleteOldDb (boolean)
}
org/h2/util/AutoCloseInputStream.classAutoCloseInputStream.java
package org.h2.util
public org.h2.util.AutoCloseInputStream extends java.io.InputStream {
private final java.io.InputStream in
private boolean closed
public void (java.io.InputStream)
private int autoClose (int) throws java.io.IOException
public void close () throws java.io.IOException
public int read (byte[], int, int) throws java.io.IOException
public int read (byte[]) throws java.io.IOException
public int read () throws java.io.IOException
}
org/h2/util/BitField.classBitField.java
package org.h2.util
public final org.h2.util.BitField extends java.lang.Object {
private static final int ADDRESS_BITS
private static final int BITS
private static final int ADDRESS_MASK
private long[] data
private int maxLength
public void ()
public void (int)
public int nextClearBit (int)
public boolean get (int)
public int getByte (int)
public void setByte (int, int)
public void set (int)
public void clear (int)
private static long getBitMask (int)
private void checkCapacity (int)
private void expandCapacity (int)
public void set (int, int, boolean)
private void set (int, boolean)
public int length ()
}
org/h2/util/Cache.classCache.java
package org.h2.util
public abstract org.h2.util.Cache extends java.lang.Object {
public abstract java.util.ArrayList getAllChanged ()
public abstract void clear ()
public abstract org.h2.util.CacheObject get (int)
public abstract void put (org.h2.util.CacheObject)
public abstract org.h2.util.CacheObject update (int, org.h2.util.CacheObject)
public abstract void remove (int)
public abstract org.h2.util.CacheObject find (int)
public abstract void setMaxMemory (int)
public abstract int getMaxMemory ()
public abstract int getMemory ()
}
org/h2/util/CacheHead.classCacheHead.java
package org.h2.util
public org.h2.util.CacheHead extends org.h2.util.CacheObject {
public void ()
public boolean canRemove ()
public int getMemory ()
}
org/h2/util/CacheLRU.classCacheLRU.java
package org.h2.util
public org.h2.util.CacheLRU extends java.lang.Object implements org.h2.util.Cache {
static final String TYPE_NAME
private final org.h2.util.CacheWriter writer
private final org.h2.util.CacheObject head
private final int mask
private org.h2.util.CacheObject[] values
private int recordCount
private final int len
private int maxMemory
private int memory
private void (org.h2.util.CacheWriter, int)
public static org.h2.util.Cache getCache (org.h2.util.CacheWriter, java.lang.String, int)
public void clear ()
public void put (org.h2.util.CacheObject)
public org.h2.util.CacheObject update (int, org.h2.util.CacheObject)
private void removeOldIfRequired ()
private void removeOld ()
private void addToFront (org.h2.util.CacheObject)
private void removeFromLinkedList (org.h2.util.CacheObject)
public void remove (int)
public org.h2.util.CacheObject find (int)
public org.h2.util.CacheObject get (int)
public java.util.ArrayList getAllChanged ()
public void setMaxMemory (int)
public int getMaxMemory ()
public int getMemory ()
}
org/h2/util/CacheObject.classCacheObject.java
package org.h2.util
public abstract org.h2.util.CacheObject extends java.lang.Object implements java.lang.Comparable {
public org.h2.util.CacheObject cachePrevious
public org.h2.util.CacheObject cacheNext
public org.h2.util.CacheObject cacheChained
private int pos
private boolean changed
public void ()
public abstract boolean canRemove ()
public abstract int getMemory ()
public void setPos (int)
public int getPos ()
public boolean isChanged ()
public void setChanged (boolean)
public int compareTo (org.h2.util.CacheObject)
public volatile synthetic int compareTo (java.lang.Object)
}
org/h2/util/CacheSecondLevel.classCacheSecondLevel.java
package org.h2.util
org.h2.util.CacheSecondLevel extends java.lang.Object implements org.h2.util.Cache {
private final org.h2.util.Cache baseCache
private final java.util.Map map
void (org.h2.util.Cache, java.util.Map)
public void clear ()
public org.h2.util.CacheObject find (int)
public org.h2.util.CacheObject get (int)
public java.util.ArrayList getAllChanged ()
public int getMaxMemory ()
public int getMemory ()
public void put (org.h2.util.CacheObject)
public void remove (int)
public void setMaxMemory (int)
public org.h2.util.CacheObject update (int, org.h2.util.CacheObject)
}
org/h2/util/CacheWriter.classCacheWriter.java
package org.h2.util
public abstract org.h2.util.CacheWriter extends java.lang.Object {
public abstract void writeBack (org.h2.util.CacheObject)
public abstract void flushLog ()
public abstract org.h2.message.Trace getTrace ()
}
org/h2/util/data.zip
org/h2/util/DateTimeUtils.classDateTimeUtils.java
package org.h2.util
public org.h2.util.DateTimeUtils extends java.lang.Object {
private static final int DEFAULT_YEAR
private static final int DEFAULT_MONTH
private static final int DEFAULT_DAY
private static final int DEFAULT_HOUR
private static java.util.Calendar cachedCalendar
private void ()
public static void resetCalendar ()
private static java.util.Calendar getCalendar ()
public static java.sql.Timestamp convertTimestampToCalendar (java.sql.Timestamp, java.util.Calendar)
public static java.sql.Time cloneAndNormalizeTime (java.sql.Time)
public static java.sql.Date cloneAndNormalizeDate (java.sql.Date)
public static org.h2.value.Value convertDateToUniversal (java.sql.Date, java.util.Calendar)
public static org.h2.value.Value convertTimeToUniversal (java.sql.Time, java.util.Calendar)
public static org.h2.value.Value convertTimestampToUniversal (java.sql.Timestamp, java.util.Calendar)
private static long getUniversalTime (java.util.Calendar, java.util.Date)
private static long getLocalTime (java.util.Date, java.util.Calendar)
private static void convertTime (java.util.Calendar, java.util.Calendar)
public static java.sql.Date convertDateToCalendar (java.sql.Date, java.util.Calendar)
public static java.sql.Time convertTimeToCalendar (java.sql.Time, java.util.Calendar)
public static java.util.Date parseDateTime (java.lang.String, int, int)
private static long getTime (boolean, java.util.TimeZone, int, int, int, int, int, int, boolean, int)
public static int getDatePart (java.util.Date, int)
public static long getTimeLocal (java.util.Date)
public static long getTimeGMT (long)
public static int getIsoDayOfWeek (java.util.Date)
public static int getIsoWeek (java.util.Date)
public static int getIsoYear (java.util.Date)
public static java.lang.String formatDateTime (java.util.Date, java.lang.String, java.lang.String, java.lang.String)
public static java.util.Date parseDateTime (java.lang.String, java.lang.String, java.lang.String, java.lang.String)
private static java.text.SimpleDateFormat getDateFormat (java.lang.String, java.lang.String, java.lang.String)
static void ()
}
org/h2/util/DbDriverActivator.classDbDriverActivator.java
package org.h2.util
public org.h2.util.DbDriverActivator extends java.lang.Object implements org.osgi.framework.BundleActivator {
public void ()
public void start (org.osgi.framework.BundleContext)
public void stop (org.osgi.framework.BundleContext)
}
org/h2/util/ExactUTF8InputStreamReader.classExactUTF8InputStreamReader.java
package org.h2.util
public org.h2.util.ExactUTF8InputStreamReader extends java.io.Reader {
private java.io.InputStream in
public void (java.io.InputStream)
public void close ()
public int read (char[], int, int) throws java.io.IOException
}
org/h2/util/HashBase.classHashBase.java
package org.h2.util
public abstract org.h2.util.HashBase extends java.lang.Object {
private static final int MAX_LOAD
protected int mask
protected int len
protected int size
protected int deletedCount
protected int level
protected boolean zeroKey
private int maxSize
private int minSize
private int maxDeleted
public void ()
protected abstract void rehash (int)
public int size ()
void checkSizePut ()
protected void checkSizeRemove ()
protected void reset (int)
protected int getIndex (int)
}
org/h2/util/IntArray.classIntArray.java
package org.h2.util
public org.h2.util.IntArray extends java.lang.Object {
private int[] data
private int size
private int hash
public void ()
public void (int)
public void (int[])
public void add (int)
public int get (int)
public void remove (int)
public void ensureCapacity (int)
public boolean equals (java.lang.Object)
public int hashCode ()
public int size ()
public void toArray (int[])
public java.lang.String toString ()
public void removeRange (int, int)
}
org/h2/util/IntIntHashMap.classIntIntHashMap.java
package org.h2.util
public org.h2.util.IntIntHashMap extends org.h2.util.HashBase {
public static final int NOT_FOUND
private static final int DELETED
private int[] keys
private int[] values
private int zeroValue
public void ()
protected void reset (int)
public void put (int, int)
public void remove (int)
protected void rehash (int)
public int get (int)
}
org/h2/util/IOUtils.classIOUtils.java
package org.h2.util
public org.h2.util.IOUtils extends java.lang.Object {
private static final int BUFFER_BLOCK_SIZE
private void ()
public static void closeSilently (java.io.OutputStream)
public static void skipFully (java.io.InputStream, long) throws java.io.IOException
public static void skipFully (java.io.Reader, long) throws java.io.IOException
public static long copyAndClose (java.io.InputStream, java.io.OutputStream) throws java.io.IOException
public static long copyAndCloseInput (java.io.InputStream, java.io.OutputStream) throws java.io.IOException
public static long copy (java.io.InputStream, java.io.OutputStream) throws java.io.IOException
public static long copyAndCloseInput (java.io.Reader, java.io.Writer) throws java.io.IOException
public static void closeSilently (java.io.InputStream)
public static void closeSilently (java.io.Reader)
public static void closeSilently (java.io.Writer)
public static byte[] readBytesAndClose (java.io.InputStream, int) throws java.io.IOException
public static java.lang.String readStringAndClose (java.io.Reader, int) throws java.io.IOException
public static int readFully (java.io.InputStream, byte[], int, int) throws java.io.IOException
public static int readFully (java.io.Reader, char[], int) throws java.io.IOException
public static java.io.Reader getBufferedReader (java.io.InputStream)
public static java.io.Reader getReader (java.io.InputStream)
public static java.io.Writer getBufferedWriter (java.io.OutputStream)
public static java.io.InputStream getInputStream (java.lang.String)
public static java.io.Reader getReader (java.lang.String)
public static java.io.Reader getAsciiReader (java.io.InputStream)
public static void mkdirs (java.io.File) throws java.io.IOException
public static void setLength (java.io.RandomAccessFile, long) throws java.io.IOException
public static java.lang.String getFileName (java.lang.String)
public static java.lang.String normalize (java.lang.String)
public static boolean tryDelete (java.lang.String)
public static boolean isReadOnly (java.lang.String)
public static boolean exists (java.lang.String)
public static long length (java.lang.String)
public static java.lang.String createTempFile (java.lang.String, java.lang.String, boolean, boolean) throws java.io.IOException
public static java.lang.String getParent (java.lang.String)
public static java.lang.String[] listFiles (java.lang.String)
public static boolean isDirectory (java.lang.String)
public static boolean isAbsolute (java.lang.String)
public static java.lang.String getAbsolutePath (java.lang.String)
public static boolean fileStartsWith (java.lang.String, java.lang.String)
public static java.io.InputStream openFileInputStream (java.lang.String) throws java.io.IOException
public static java.io.OutputStream openFileOutputStream (java.lang.String, boolean)
public static void rename (java.lang.String, java.lang.String)
public static void createDirs (java.lang.String)
public static void delete (java.lang.String)
public static long getLastModified (java.lang.String)
static void trace (java.lang.String, java.lang.String, java.lang.Object)
public static boolean isInDir (java.io.File, java.io.File)
}
org/h2/util/JdbcUtils.classJdbcUtils.java
package org.h2.util
public org.h2.util.JdbcUtils extends java.lang.Object {
private static final String[] DRIVERS
private void ()
public static void closeSilently (java.sql.Statement)
public static void closeSilently (java.sql.Connection)
public static void closeSilently (java.sql.ResultSet)
public static void closeSilently (javax.sql.XAConnection)
public static java.sql.Connection getConnection (java.lang.String, java.lang.String, java.lang.String, java.lang.String) throws java.sql.SQLException
public static java.lang.String escapeMetaDataPattern (java.lang.String)
public static java.sql.Connection getConnection (java.lang.String, java.lang.String, java.util.Properties) throws java.sql.SQLException
public static java.lang.String getDriver (java.lang.String)
public static void load (java.lang.String)
static void ()
}
org/h2/util/MathUtils$1.classMathUtils.java
package org.h2.util
org.h2.util.MathUtils$1 extends java.lang.Object implements java.lang.Runnable {
void ()
public void run ()
}
org/h2/util/MathUtils.classMathUtils.java
package org.h2.util
public org.h2.util.MathUtils extends java.lang.Object {
static java.security.SecureRandom cachedSecureRandom
static volatile boolean seeded
private static boolean usePrecisionWorkaround
private static final java.util.Random RANDOM
private static final int BIG_DECIMAL_SCALE_MAX
private void ()
private static synchronized java.security.SecureRandom getSecureRandom ()
private static byte[] generateAlternativeSeed ()
static void warn (java.lang.String, java.lang.Throwable)
public static int roundUpInt (int, int)
public static long roundUpLong (long, long)
public static void checkPowerOf2 (int)
public static int nextPowerOf2 (int)
public static java.math.BigDecimal setScale (java.math.BigDecimal, int)
public static int convertLongToInt (long)
public static int reverseInt (int)
public static long reverseLong (long)
public static int precision (java.math.BigDecimal)
public static int compareInt (int, int)
public static int compareLong (long, long)
public static long secureRandomLong ()
public static void randomBytes (byte[])
public static byte[] secureRandomBytes (int)
public static int randomInt (int)
public static int secureRandomInt (int)
static void ()
}
org/h2/util/NetUtils.classNetUtils.java
package org.h2.util
public org.h2.util.NetUtils extends java.lang.Object {
private static final int CACHE_MILLIS
private static java.net.InetAddress cachedBindAddress
private static String cachedLocalAddress
private static long cachedLocalAddressTime
private void ()
public static java.net.Socket createLoopbackSocket (int, boolean) throws java.io.IOException
private static java.lang.String getHostAddress (java.net.InetAddress)
public static java.net.Socket createSocket (java.lang.String, int, boolean) throws java.io.IOException
public static java.net.Socket createSocket (java.net.InetAddress, int, boolean) throws java.io.IOException
public static java.net.ServerSocket createServerSocket (int, boolean)
private static java.net.InetAddress getBindAddress () throws java.net.UnknownHostException
private static java.net.ServerSocket createServerSocketTry (int, boolean)
public static boolean isLocalAddress (java.net.Socket) throws java.net.UnknownHostException
public static java.net.ServerSocket closeSilently (java.net.ServerSocket)
public static synchronized java.lang.String getLocalAddress ()
}
org/h2/util/New.classNew.java
package org.h2.util
public org.h2.util.New extends java.lang.Object {
public void ()
public static java.util.ArrayList arrayList ()
public static java.util.HashMap hashMap ()
public static java.util.HashMap hashMap (int)
public static java.util.HashSet hashSet ()
public static java.util.ArrayList arrayList (java.util.Collection)
public static java.util.ArrayList arrayList (int)
}
org/h2/util/Permutations.classPermutations.java
package org.h2.util
public org.h2.util.Permutations extends java.lang.Object {
private Object[] in
private Object[] out
private int n
private int m
private int[] index
private boolean hasNext
private void (java.lang.Object[], java.lang.Object[], int)
public static org.h2.util.Permutations create (java.lang.Object[], java.lang.Object[])
public static org.h2.util.Permutations create (java.lang.Object[], java.lang.Object[], int)
private void moveIndex ()
private int rightmostDip ()
private void reverseAfter (int)
public boolean next ()
}
org/h2/util/Profiler.classProfiler.java
package org.h2.util
public org.h2.util.Profiler extends java.lang.Object implements java.lang.Runnable {
private static java.lang.instrument.Instrumentation instrumentation
private static final int MAX_ELEMENTS
public int interval
public int depth
public boolean paused
private String[] ignoreLines
private String[] ignoreThreads
private volatile boolean stop
private java.util.HashMap counts
private int minCount
private int total
private Thread thread
private long time
public void ()
public static void premain (java.lang.String, java.lang.instrument.Instrumentation)
public static java.lang.instrument.Instrumentation getInstrumentation ()
public void startCollecting ()
public void stopCollecting ()
public void run ()
private void tick ()
private void increment (java.lang.String)
public java.lang.String getTop (int)
}
org/h2/util/ScriptReader.classScriptReader.java
package org.h2.util
public org.h2.util.ScriptReader extends java.lang.Object {
private java.io.Reader reader
private char[] buffer
private int bufferPos
private int bufferStart
private int bufferEnd
private boolean endOfFile
private boolean insideRemark
private boolean blockRemark
private boolean skipRemarks
private int remarkStart
public void (java.io.Reader)
public void close ()
public java.lang.String readStatement ()
private java.lang.String readStatementLoop () throws java.io.IOException
private void startRemark (boolean)
private void endRemark ()
private void clearRemark ()
private int read () throws java.io.IOException
private int readBuffer () throws java.io.IOException
public boolean isInsideRemark ()
public boolean isBlockRemark ()
public void setSkipRemarks (boolean)
}
org/h2/util/SmallLRUCache.classSmallLRUCache.java
package org.h2.util
public org.h2.util.SmallLRUCache extends java.util.LinkedHashMap {
private static final long serialVersionUID
private int size
private void (int)
public static org.h2.util.SmallLRUCache newInstance (int)
protected boolean removeEldestEntry (java.util.Map$Entry)
}
org/h2/util/SmallMap.classSmallMap.java
package org.h2.util
public org.h2.util.SmallMap extends java.lang.Object {
private java.util.HashMap map
private Object cache
private int cacheId
private int lastId
private int maxElements
public void (int)
public int addObject (int, java.lang.Object)
public void freeObject (int)
public java.lang.Object getObject (int, boolean) throws java.sql.SQLException
}
org/h2/util/SoftHashMap$SoftValue.classSoftHashMap.java
package org.h2.util
org.h2.util.SoftHashMap$SoftValue extends java.lang.ref.SoftReference {
final Object key
public void (java.lang.Object, java.lang.ref.ReferenceQueue, java.lang.Object)
}
org/h2/util/SoftHashMap.classSoftHashMap.java
package org.h2.util
public org.h2.util.SoftHashMap extends java.util.AbstractMap {
private java.util.Map map
private java.lang.ref.ReferenceQueue queue
public void ()
private void processQueue ()
public java.lang.Object get (java.lang.Object)
public java.lang.Object put (java.lang.Object, java.lang.Object)
public java.lang.Object remove (java.lang.Object)
public void clear ()
public java.util.Set entrySet ()
}
org/h2/util/SortedProperties.classSortedProperties.java
package org.h2.util
public org.h2.util.SortedProperties extends java.util.Properties {
private static final long serialVersionUID
public void ()
public synchronized java.util.Enumeration keys ()
public static boolean getBooleanProperty (java.util.Properties, java.lang.String, boolean)
public static int getIntProperty (java.util.Properties, java.lang.String, int)
public static synchronized org.h2.util.SortedProperties loadProperties (java.lang.String) throws java.io.IOException
public synchronized void store (java.lang.String) throws java.io.IOException
public synchronized java.lang.String toLines ()
public static org.h2.util.SortedProperties fromLines (java.lang.String)
}
org/h2/util/SourceCompiler$1.classSourceCompiler.java
package org.h2.util
org.h2.util.SourceCompiler$1 extends java.lang.ClassLoader {
final synthetic org.h2.util.SourceCompiler this$0
void (org.h2.util.SourceCompiler, java.lang.ClassLoader) throws java.lang.ClassNotFoundException
public java.lang.Class findClass (java.lang.String) throws java.lang.ClassNotFoundException
}
org/h2/util/SourceCompiler$2.classSourceCompiler.java
package org.h2.util
org.h2.util.SourceCompiler$2 extends org.h2.util.Task {
final synthetic java.io.InputStream val$in
final synthetic java.io.OutputStream val$out
final synthetic org.h2.util.SourceCompiler this$0
void (org.h2.util.SourceCompiler, java.io.InputStream, java.io.OutputStream) throws java.io.IOException
public void call () throws java.io.IOException
}
org/h2/util/SourceCompiler.classSourceCompiler.java
package org.h2.util
public org.h2.util.SourceCompiler extends java.lang.Object {
private static final Class JAVAC_SUN
java.util.HashMap sources
java.util.HashMap compiled
private String compileDir
public void ()
public void setSource (java.lang.String, java.lang.String)
private java.lang.Class getClass (java.lang.String) throws java.lang.ClassNotFoundException
public java.lang.reflect.Method getMethod (java.lang.String) throws java.lang.ClassNotFoundException
byte[] javacCompile (java.lang.String, java.lang.String, java.lang.String)
private void javacProcess (java.io.File)
private transient int exec (java.lang.String[])
private void throwSyntaxError (java.io.ByteArrayOutputStream)
private void copyInThread (java.io.InputStream, java.io.OutputStream)
private void javacSun (java.io.File)
static void ()
}
org/h2/util/StatementBuilder.classStatementBuilder.java
package org.h2.util
public org.h2.util.StatementBuilder extends java.lang.Object {
private final StringBuilder builder
private int index
public void ()
public void (java.lang.String)
public org.h2.util.StatementBuilder append (java.lang.String)
public org.h2.util.StatementBuilder append (char)
public org.h2.util.StatementBuilder append (long)
public org.h2.util.StatementBuilder resetCount ()
public void appendOnlyFirst (java.lang.String)
public void appendExceptFirst (java.lang.String)
public java.lang.String toString ()
public int length ()
}
org/h2/util/StringUtils.classStringUtils.java
package org.h2.util
public org.h2.util.StringUtils extends java.lang.Object {
private static java.lang.ref.SoftReference softCache
private static long softCacheCreated
private static final char[] HEX
private void ()
private static java.lang.String[] getCache ()
public static boolean equals (java.lang.String, java.lang.String)
public static java.lang.String toUpperEnglish (java.lang.String)
public static java.lang.String toLowerEnglish (java.lang.String)
public static boolean startsWithIgnoreCase (java.lang.String, java.lang.String)
public static java.lang.String quoteStringSQL (java.lang.String)
public static java.lang.String javaEncode (java.lang.String)
public static java.lang.String addAsterisk (java.lang.String, int)
private static org.h2.message.DbException getFormatException (java.lang.String, int)
public static java.lang.String javaDecode (java.lang.String)
public static java.lang.String quoteJavaString (java.lang.String)
public static byte[] utf8Encode (java.lang.String)
public static java.lang.String utf8Decode (byte[])
private static java.lang.String utf8Decode (byte[], int, int)
public static java.lang.String quoteJavaStringArray (java.lang.String[])
public static java.lang.String quoteJavaIntArray (int[])
public static java.lang.String enclose (java.lang.String)
public static java.lang.String unEnclose (java.lang.String)
public static java.lang.String urlEncode (java.lang.String)
public static java.lang.String urlDecode (java.lang.String)
public static java.lang.String[] arraySplit (java.lang.String, char, boolean)
public static java.lang.String arrayCombine (java.lang.String[], char)
public static java.lang.String xmlAttr (java.lang.String, java.lang.String)
public static java.lang.String xmlNode (java.lang.String, java.lang.String, java.lang.String)
private static java.lang.String indent (java.lang.String)
private static java.lang.String indent (java.lang.String, int)
public static java.lang.String xmlComment (java.lang.String)
public static java.lang.String xmlCData (java.lang.String)
public static java.lang.String xmlStartDoc ()
public static java.lang.String xmlText (java.lang.String)
public static java.lang.String replaceAll (java.lang.String, java.lang.String, java.lang.String)
public static java.lang.String replaceAllIgnoreCase (java.lang.String, java.lang.String, java.lang.String)
private static java.lang.String replaceAll (java.lang.String, java.lang.String, java.lang.String, java.lang.String)
public static java.lang.String quoteIdentifier (java.lang.String)
public static boolean isNullOrEmpty (java.lang.String)
public static java.lang.String quoteRemarkSQL (java.lang.String)
public static java.lang.String pad (java.lang.String, int, java.lang.String, boolean)
public static char[] cloneCharArray (char[])
public static java.lang.String trim (java.lang.String, boolean, boolean, java.lang.String)
public static java.lang.String cache (java.lang.String)
public static java.lang.String fromCacheOrNew (java.lang.String)
public static void clearCache ()
public static byte[] convertStringToBytes (java.lang.String)
private static int getHexDigit (java.lang.String, int)
public static java.lang.String convertBytesToString (byte[])
public static java.lang.String convertBytesToString (byte[], int)
static void ()
}
org/h2/util/Task.classTask.java
package org.h2.util
public abstract org.h2.util.Task extends java.lang.Object implements java.lang.Runnable {
protected volatile boolean stop
protected Object result
private Thread thread
private Exception ex
public void ()
public abstract void call () throws java.lang.Exception
public void run ()
public org.h2.util.Task execute ()
public java.lang.Object get ()
public java.lang.Exception getException ()
}
org/h2/util/TempFileDeleter.classTempFileDeleter.java
package org.h2.util
public org.h2.util.TempFileDeleter extends java.lang.Object {
private final java.lang.ref.ReferenceQueue queue
private final java.util.HashMap refMap
private void ()
public static org.h2.util.TempFileDeleter getInstance ()
public synchronized java.lang.ref.Reference addFile (java.lang.String, java.lang.Object)
public synchronized void deleteFile (java.lang.ref.Reference, java.lang.String)
public void deleteAll ()
public void deleteUnused ()
public void stopAutoDelete (java.lang.ref.Reference, java.lang.String)
}
org/h2/util/Tool.classTool.java
package org.h2.util
public abstract org.h2.util.Tool extends java.lang.Object {
protected java.io.PrintStream out
private java.util.Properties resources
public void ()
public void setOut (java.io.PrintStream)
public transient abstract void runTool (java.lang.String[]) throws java.sql.SQLException
protected java.sql.SQLException throwUnsupportedOption (java.lang.String) throws java.sql.SQLException
protected void printNoDatabaseFilesFound (java.lang.String, java.lang.String)
protected void showUsage ()
}
org/h2/util/Utils.classUtils.java
package org.h2.util
public org.h2.util.Utils extends java.lang.Object {
public static final byte[] EMPTY_BYTES
public static final int[] EMPTY_INT_ARRAY
private static final long[] EMPTY_LONG_ARRAY
private static final int GC_DELAY
private static final int MAX_GC
private static long lastGC
private static final boolean ALLOW_ALL_CLASSES
private static final java.util.HashSet ALLOWED_CLASS_NAMES
private static final String[] ALLOWED_CLASS_NAME_PREFIXES
private static final java.util.HashMap RESOURCES
private void ()
private static int readInt (byte[], int)
public static long readLong (byte[], int)
public static int indexOf (byte[], byte[], int)
public static int getByteArrayHash (byte[])
public static boolean compareSecure (byte[], byte[])
public static int compareNotNull (byte[], byte[])
public static byte[] copy (byte[], byte[])
public static byte[] cloneByteArray (byte[])
public static byte[] serialize (java.lang.Object)
public static java.lang.Object deserialize (byte[])
public static int hashCode (java.lang.Object)
public static int getMemoryUsed ()
public static int getMemoryFree ()
public static long getMemoryMax ()
private static synchronized void collectGarbage ()
public static byte[] newBytes (int)
public static int[] newIntArray (int)
public static long[] newLongArray (int)
public static java.lang.Class loadUserClass (java.lang.String)
public static byte[] getResource (java.lang.String) throws java.io.IOException
private static byte[] loadResource (java.lang.String) throws java.io.IOException
public static transient java.lang.Object callStaticMethod (java.lang.String, java.lang.Object[]) throws java.lang.Exception
public static transient java.lang.Object callMethod (java.lang.Object, java.lang.String, java.lang.Object[]) throws java.lang.Exception
private static transient java.lang.Object classMethodInternal (java.lang.String, java.lang.Class, java.lang.Object, java.lang.Object[]) throws java.lang.Exception
public static transient java.lang.Object newInstance (java.lang.String, java.lang.Object[]) throws java.lang.Exception
private static int match (java.lang.Class[], java.lang.Object[])
public static java.lang.Object getStaticField (java.lang.String) throws java.lang.Exception
public static java.lang.Object getField (java.lang.Object, java.lang.String) throws java.lang.Exception
public static boolean isClassPresent (java.lang.String)
public static java.lang.Class getNonPrimitiveClass (java.lang.Class)
static void ()
}
org/h2/util/ValueHashMap.classValueHashMap.java
package org.h2.util
public org.h2.util.ValueHashMap extends org.h2.util.HashBase {
private org.h2.value.Value[] keys
private Object[] values
public void ()
public static org.h2.util.ValueHashMap newInstance ()
protected void reset (int)
protected void rehash (int)
private int getIndex (org.h2.value.Value)
public void put (org.h2.value.Value, java.lang.Object)
public void remove (org.h2.value.Value)
public java.lang.Object get (org.h2.value.Value)
public java.util.ArrayList keys ()
public java.util.ArrayList values ()
}
org/h2/value/CompareMode.classCompareMode.java
package org.h2.value
public org.h2.value.CompareMode extends java.lang.Object {
public static final String OFF
private static org.h2.value.CompareMode lastUsed
private final String name
private final int strength
private final java.text.Collator collator
private final org.h2.util.SmallLRUCache collationKeys
private void (java.lang.String, int)
public static synchronized org.h2.value.CompareMode getInstance (java.lang.String, int)
public boolean equalsChars (java.lang.String, int, java.lang.String, int, boolean)
public int compareString (java.lang.String, java.lang.String, boolean)
private java.text.CollationKey getKey (java.lang.String)
public static java.lang.String getName (java.util.Locale)
private static boolean compareLocaleNames (java.util.Locale, java.lang.String)
public static java.text.Collator getCollator (java.lang.String)
public java.lang.String getName ()
public int getStrength ()
}
org/h2/value/DataType.classDataType.java
package org.h2.value
public org.h2.value.DataType extends java.lang.Object {
public static final int TYPE_BOOLEAN
public static final int TYPE_DATALINK
public static final int TYPE_LONGNVARCHAR
public static final int TYPE_NCHAR
public static final int TYPE_NVARCHAR
public static final int TYPE_NCLOB
private static final java.util.ArrayList TYPES
private static final java.util.HashMap TYPES_BY_NAME
private static final java.util.ArrayList TYPES_BY_VALUE_TYPE
public int type
public String name
public int sqlType
public String jdbc
public int sqlTypePos
public long maxPrecision
public int minScale
public int maxScale
public boolean decimal
public String prefix
public String suffix
public String params
public boolean autoIncrement
public boolean caseSensitive
public boolean supportsPrecision
public boolean supportsScale
public long defaultPrecision
public int defaultScale
public int defaultDisplaySize
public boolean hidden
public int memory
public void ()
private static void add (int, int, java.lang.String, org.h2.value.DataType, java.lang.String[], int)
private static org.h2.value.DataType createDecimal (int, int, int, int, boolean, boolean)
private static org.h2.value.DataType createDate (int, java.lang.String, int, int)
private static org.h2.value.DataType createString (boolean)
private static org.h2.value.DataType createLob ()
public static java.util.ArrayList getTypes ()
public static org.h2.value.Value readValue (org.h2.engine.SessionInterface, java.sql.ResultSet, int, int)
public static java.lang.String getTypeClassName (int)
public static org.h2.value.DataType getDataType (int)
public static int convertTypeToSQLType (int)
public static int convertSQLTypeToValueType (int)
public static int getTypeFromClass (java.lang.Class)
public static org.h2.value.Value convertToValue (org.h2.engine.SessionInterface, java.lang.Object, int)
public static org.h2.value.DataType getTypeByName (java.lang.String)
public static boolean isLargeObject (int)
public static boolean isStringType (int)
public static boolean supportsAdd (int)
public static int getAddProofType (int)
public static java.lang.Object getDefaultForPrimitiveType (java.lang.Class)
public static java.lang.Object convertTo (org.h2.engine.SessionInterface, org.h2.jdbc.JdbcConnection, org.h2.value.Value, java.lang.Class)
static void ()
}
org/h2/value/Transfer$1.classTransfer.java
package org.h2.value
org.h2.value.Transfer$1 extends java.io.FilterOutputStream {
final synthetic org.h2.value.Transfer this$0
void (org.h2.value.Transfer, java.io.OutputStream)
public void flush ()
}
org/h2/value/Transfer.classTransfer.java
package org.h2.value
public org.h2.value.Transfer extends java.lang.Object {
private static final int BUFFER_SIZE
private static final int LOB_MAGIC
private java.net.Socket socket
private java.io.DataInputStream in
private java.io.DataOutputStream out
private org.h2.engine.SessionInterface session
private boolean ssl
private int version
public void (org.h2.engine.SessionInterface)
public void setSocket (java.net.Socket)
public void init () throws java.io.IOException
public void flush () throws java.io.IOException
public org.h2.value.Transfer writeBoolean (boolean) throws java.io.IOException
public boolean readBoolean () throws java.io.IOException
private org.h2.value.Transfer writeByte (byte) throws java.io.IOException
private byte readByte () throws java.io.IOException
public org.h2.value.Transfer writeInt (int) throws java.io.IOException
public int readInt () throws java.io.IOException
public org.h2.value.Transfer writeLong (long) throws java.io.IOException
public long readLong () throws java.io.IOException
private org.h2.value.Transfer writeDouble (double) throws java.io.IOException
private org.h2.value.Transfer writeFloat (float) throws java.io.IOException
private double readDouble () throws java.io.IOException
private float readFloat () throws java.io.IOException
public org.h2.value.Transfer writeString (java.lang.String) throws java.io.IOException
public java.lang.String readString () throws java.io.IOException
public org.h2.value.Transfer writeBytes (byte[]) throws java.io.IOException
public byte[] readBytes () throws java.io.IOException
public void close ()
public void writeValue (org.h2.value.Value) throws java.io.IOException
public org.h2.value.Value readValue () throws java.io.IOException
public java.net.Socket getSocket ()
public void setSession (org.h2.engine.SessionInterface)
public void setSSL (boolean)
public org.h2.value.Transfer openNewConnection () throws java.io.IOException
public void setVersion (int)
}
org/h2/value/Value$ValueBlob.classValue.java
package org.h2.value
public abstract org.h2.value.Value$ValueBlob extends java.lang.Object {
}
org/h2/value/Value$ValueClob.classValue.java
package org.h2.value
public abstract org.h2.value.Value$ValueClob extends java.lang.Object {
}
org/h2/value/Value.classValue.java
package org.h2.value
public abstract org.h2.value.Value extends java.lang.Object {
public static final int UNKNOWN
public static final int NULL
public static final int BOOLEAN
public static final int BYTE
public static final int SHORT
public static final int INT
public static final int LONG
public static final int DECIMAL
public static final int DOUBLE
public static final int FLOAT
public static final int TIME
public static final int DATE
public static final int TIMESTAMP
public static final int BYTES
public static final int STRING
public static final int STRING_IGNORECASE
public static final int BLOB
public static final int CLOB
public static final int ARRAY
public static final int RESULT_SET
public static final int JAVA_OBJECT
public static final int UUID
public static final int STRING_FIXED
public static final int TYPE_COUNT
private static java.lang.ref.SoftReference softCache
private static final java.math.BigDecimal MAX_LONG_DECIMAL
private static final java.math.BigDecimal MIN_LONG_DECIMAL
public void ()
public abstract java.lang.String getSQL ()
public abstract int getType ()
public abstract long getPrecision ()
public abstract int getDisplaySize ()
public int getMemory ()
public abstract java.lang.String getString ()
public abstract java.lang.Object getObject ()
public abstract void set (java.sql.PreparedStatement, int) throws java.sql.SQLException
protected abstract int compareSecure (org.h2.value.Value, org.h2.value.CompareMode)
public abstract int hashCode ()
public abstract boolean equals (java.lang.Object)
static int getOrder (int)
public static int getHigherOrder (int, int)
static org.h2.value.Value cache (org.h2.value.Value)
public static void clearCache ()
public java.lang.Boolean getBoolean ()
public java.sql.Date getDate ()
public java.sql.Date getDateNoCopy ()
public java.sql.Time getTime ()
public java.sql.Time getTimeNoCopy ()
public java.sql.Timestamp getTimestamp ()
public java.sql.Timestamp getTimestampNoCopy ()
public byte[] getBytes ()
public byte[] getBytesNoCopy ()
public byte getByte ()
public short getShort ()
public java.math.BigDecimal getBigDecimal ()
public double getDouble ()
public float getFloat ()
public int getInt ()
public long getLong ()
public java.io.InputStream getInputStream ()
public java.io.Reader getReader ()
public org.h2.value.Value add (org.h2.value.Value)
public int getSignum ()
public org.h2.value.Value negate ()
public org.h2.value.Value subtract (org.h2.value.Value)
public org.h2.value.Value divide (org.h2.value.Value)
public org.h2.value.Value multiply (org.h2.value.Value)
public org.h2.value.Value convertTo (int)
public final int compareTypeSave (org.h2.value.Value, org.h2.value.CompareMode)
public final int compareTo (org.h2.value.Value, org.h2.value.CompareMode)
public int getScale ()
public org.h2.value.Value convertScale (boolean, int)
public org.h2.value.Value convertPrecision (long)
private byte convertToByte (long)
private short convertToShort (long)
private int convertToInt (long)
private long convertToLong (double)
private long convertToLong (java.math.BigDecimal)
public org.h2.value.Value link (org.h2.store.DataHandler, int)
public boolean isLinked ()
public void unlink ()
public boolean isFileBased ()
public void close ()
public boolean checkPrecision (long)
public java.lang.String getTraceSQL ()
public java.lang.String toString ()
protected org.h2.message.DbException throwUnsupportedExceptionForType (java.lang.String)
public int getTableId ()
public byte[] getSmall ()
public org.h2.value.Value copyToTemp ()
static void ()
}
org/h2/value/ValueArray.classValueArray.java
package org.h2.value
public org.h2.value.ValueArray extends org.h2.value.Value {
private final org.h2.value.Value[] values
private int hash
private void (org.h2.value.Value[])
public static org.h2.value.ValueArray get (org.h2.value.Value[])
public int hashCode ()
public org.h2.value.Value[] getList ()
public int getType ()
public long getPrecision ()
public java.lang.String getString ()
protected int compareSecure (org.h2.value.Value, org.h2.value.CompareMode)
public java.lang.Object getObject ()
public void set (java.sql.PreparedStatement, int)
public java.lang.String getSQL ()
public java.lang.String getTraceSQL ()
public int getDisplaySize ()
public boolean equals (java.lang.Object)
public int getMemory ()
}
org/h2/value/ValueBoolean.classValueBoolean.java
package org.h2.value
public org.h2.value.ValueBoolean extends org.h2.value.Value {
public static final int PRECISION
public static final int DISPLAY_SIZE
private static final Object TRUE
private static final Object FALSE
private final Boolean value
private void (boolean)
public int getType ()
public java.lang.String getSQL ()
public java.lang.String getString ()
public org.h2.value.Value negate ()
public java.lang.Boolean getBoolean ()
protected int compareSecure (org.h2.value.Value, org.h2.value.CompareMode)
public long getPrecision ()
public int hashCode ()
public java.lang.Object getObject ()
public void set (java.sql.PreparedStatement, int) throws java.sql.SQLException
public static org.h2.value.ValueBoolean get (boolean)
public int getDisplaySize ()
public boolean equals (java.lang.Object)
static void ()
}
org/h2/value/ValueByte.classValueByte.java
package org.h2.value
public org.h2.value.ValueByte extends org.h2.value.Value {
static final int PRECISION
static final int DISPLAY_SIZE
private final byte value
private void (byte)
public org.h2.value.Value add (org.h2.value.Value)
private org.h2.value.ValueByte checkRange (int)
public int getSignum ()
public org.h2.value.Value negate ()
public org.h2.value.Value subtract (org.h2.value.Value)
public org.h2.value.Value multiply (org.h2.value.Value)
public org.h2.value.Value divide (org.h2.value.Value)
public java.lang.String getSQL ()
public int getType ()
public byte getByte ()
protected int compareSecure (org.h2.value.Value, org.h2.value.CompareMode)
public java.lang.String getString ()
public long getPrecision ()
public int hashCode ()
public java.lang.Object getObject ()
public void set (java.sql.PreparedStatement, int) throws java.sql.SQLException
public static org.h2.value.ValueByte get (byte)
public int getDisplaySize ()
public boolean equals (java.lang.Object)
}
org/h2/value/ValueBytes.classValueBytes.java
package org.h2.value
public org.h2.value.ValueBytes extends org.h2.value.Value {
private static final org.h2.value.ValueBytes EMPTY
private final byte[] value
private int hash
protected void (byte[])
public static org.h2.value.ValueBytes get (byte[])
public static org.h2.value.ValueBytes getNoCopy (byte[])
public int getType ()
public java.lang.String getSQL ()
public byte[] getBytesNoCopy ()
public byte[] getBytes ()
protected int compareSecure (org.h2.value.Value, org.h2.value.CompareMode)
public java.lang.String getString ()
public long getPrecision ()
public int hashCode ()
public java.lang.Object getObject ()
public void set (java.sql.PreparedStatement, int) throws java.sql.SQLException
public int getDisplaySize ()
public int getMemory ()
public boolean equals (java.lang.Object)
static void ()
}
org/h2/value/ValueDate.classValueDate.java
package org.h2.value
public org.h2.value.ValueDate extends org.h2.value.Value {
public static final int PRECISION
static final int DISPLAY_SIZE
private final java.sql.Date value
private void (java.sql.Date)
public static java.sql.Date parseDate (java.lang.String)
public java.sql.Date getDate ()
public java.sql.Date getDateNoCopy ()
public java.lang.String getSQL ()
public int getType ()
protected int compareSecure (org.h2.value.Value, org.h2.value.CompareMode)
public java.lang.String getString ()
public long getPrecision ()
public int hashCode ()
public java.lang.Object getObject ()
public void set (java.sql.PreparedStatement, int) throws java.sql.SQLException
public static org.h2.value.ValueDate get (java.sql.Date)
public static org.h2.value.ValueDate getNoCopy (java.sql.Date)
public int getDisplaySize ()
public boolean equals (java.lang.Object)
}
org/h2/value/ValueDecimal.classValueDecimal.java
package org.h2.value
public org.h2.value.ValueDecimal extends org.h2.value.Value {
public static final Object ZERO
public static final Object ONE
static final int DEFAULT_PRECISION
static final int DEFAULT_SCALE
static final int DEFAULT_DISPLAY_SIZE
private static final int DIVIDE_SCALE_ADD
private final java.math.BigDecimal value
private String valueString
private int precision
private void (java.math.BigDecimal)
public org.h2.value.Value add (org.h2.value.Value)
public org.h2.value.Value subtract (org.h2.value.Value)
public org.h2.value.Value negate ()
public org.h2.value.Value multiply (org.h2.value.Value)
public org.h2.value.Value divide (org.h2.value.Value)
public java.lang.String getSQL ()
public int getType ()
protected int compareSecure (org.h2.value.Value, org.h2.value.CompareMode)
public int getSignum ()
public java.math.BigDecimal getBigDecimal ()
public java.lang.String getString ()
public long getPrecision ()
public boolean checkPrecision (long)
public int getScale ()
public int hashCode ()
public java.lang.Object getObject ()
public void set (java.sql.PreparedStatement, int) throws java.sql.SQLException
public org.h2.value.Value convertScale (boolean, int)
public org.h2.value.Value convertPrecision (long)
public static org.h2.value.ValueDecimal get (java.math.BigDecimal)
public int getDisplaySize ()
public boolean equals (java.lang.Object)
public int getMemory ()
static void ()
}
org/h2/value/ValueDouble.classValueDouble.java
package org.h2.value
public org.h2.value.ValueDouble extends org.h2.value.Value {
public static final int PRECISION
public static final int DISPLAY_SIZE
private static final double DOUBLE_ZERO
private static final double DOUBLE_ONE
private static final org.h2.value.ValueDouble ZERO
private static final org.h2.value.ValueDouble ONE
private static final org.h2.value.ValueDouble NAN
private final double value
private void (double)
public org.h2.value.Value add (org.h2.value.Value)
public org.h2.value.Value subtract (org.h2.value.Value)
public org.h2.value.Value negate ()
public org.h2.value.Value multiply (org.h2.value.Value)
public org.h2.value.Value divide (org.h2.value.Value)
public java.lang.String getSQL ()
public int getType ()
protected int compareSecure (org.h2.value.Value, org.h2.value.CompareMode)
public int getSignum ()
public double getDouble ()
public java.lang.String getString ()
public long getPrecision ()
public int getScale ()
public int hashCode ()
public java.lang.Object getObject ()
public void set (java.sql.PreparedStatement, int) throws java.sql.SQLException
public static org.h2.value.ValueDouble get (double)
public int getDisplaySize ()
public boolean equals (java.lang.Object)
static void ()
}
org/h2/value/ValueFloat.classValueFloat.java
package org.h2.value
public org.h2.value.ValueFloat extends org.h2.value.Value {
static final int PRECISION
static final int DISPLAY_SIZE
private static final float FLOAT_ZERO
private static final float FLOAT_ONE
private static final org.h2.value.ValueFloat ZERO
private static final org.h2.value.ValueFloat ONE
private final float value
private void (float)
public org.h2.value.Value add (org.h2.value.Value)
public org.h2.value.Value subtract (org.h2.value.Value)
public org.h2.value.Value negate ()
public org.h2.value.Value multiply (org.h2.value.Value)
public org.h2.value.Value divide (org.h2.value.Value)
public java.lang.String getSQL ()
public int getType ()
protected int compareSecure (org.h2.value.Value, org.h2.value.CompareMode)
public int getSignum ()
public float getFloat ()
public java.lang.String getString ()
public long getPrecision ()
public int getScale ()
public int hashCode ()
public java.lang.Object getObject ()
public void set (java.sql.PreparedStatement, int) throws java.sql.SQLException
public static org.h2.value.ValueFloat get (float)
public int getDisplaySize ()
public boolean equals (java.lang.Object)
static void ()
}
org/h2/value/ValueInt.classValueInt.java
package org.h2.value
public org.h2.value.ValueInt extends org.h2.value.Value {
public static final int PRECISION
public static final int DISPLAY_SIZE
private static final int STATIC_SIZE
private static final int DYNAMIC_SIZE
private static final org.h2.value.ValueInt[] STATIC_CACHE
private static final org.h2.value.ValueInt[] DYNAMIC_CACHE
private final int value
private void (int)
public static org.h2.value.ValueInt get (int)
public org.h2.value.Value add (org.h2.value.Value)
private org.h2.value.ValueInt checkRange (long)
public int getSignum ()
public org.h2.value.Value negate ()
public org.h2.value.Value subtract (org.h2.value.Value)
public org.h2.value.Value multiply (org.h2.value.Value)
public org.h2.value.Value divide (org.h2.value.Value)
public java.lang.String getSQL ()
public int getType ()
public int getInt ()
public long getLong ()
protected int compareSecure (org.h2.value.Value, org.h2.value.CompareMode)
public java.lang.String getString ()
public long getPrecision ()
public int hashCode ()
public java.lang.Object getObject ()
public void set (java.sql.PreparedStatement, int) throws java.sql.SQLException
public int getDisplaySize ()
public boolean equals (java.lang.Object)
static void ()
}
org/h2/value/ValueJavaObject.classValueJavaObject.java
package org.h2.value
public org.h2.value.ValueJavaObject extends org.h2.value.ValueBytes {
private static final org.h2.value.ValueJavaObject EMPTY
protected void (byte[])
public static org.h2.value.ValueJavaObject getNoCopy (byte[])
public int getType ()
public void set (java.sql.PreparedStatement, int) throws java.sql.SQLException
static void ()
}
org/h2/value/ValueLob.classValueLob.java
package org.h2.value
public org.h2.value.ValueLob extends org.h2.value.Value {
private static int dirCounter
private final int type
private long precision
private org.h2.store.DataHandler handler
private int tableId
private int objectId
private String fileName
private boolean linked
private byte[] small
private int hash
private boolean compression
private org.h2.store.FileStore tempFile
private void (int, org.h2.store.DataHandler, java.lang.String, int, int, boolean, long, boolean)
private void (int, byte[])
private static org.h2.value.ValueLob copy (org.h2.value.ValueLob)
public static org.h2.value.ValueLob createSmallLob (int, byte[])
private static java.lang.String getFileName (org.h2.store.DataHandler, int, int)
public static org.h2.value.ValueLob open (int, org.h2.store.DataHandler, int, int, long, boolean)
public static org.h2.value.ValueLob createClob (java.io.Reader, long, org.h2.store.DataHandler)
private static int getBufferSize (org.h2.store.DataHandler, boolean, long)
private void createFromReader (char[], int, java.io.Reader, long, org.h2.store.DataHandler)
private static java.lang.String getFileNamePrefix (java.lang.String, int)
private int getNewObjectId (org.h2.store.DataHandler)
public static void resetDirCounter ()
private void invalidateFileList (org.h2.store.DataHandler, java.lang.String)
private java.lang.String[] getFileList (org.h2.store.DataHandler, java.lang.String)
public static org.h2.value.ValueLob createBlob (java.io.InputStream, long, org.h2.store.DataHandler)
private org.h2.store.FileStoreOutputStream initLarge (org.h2.store.DataHandler)
private void createFromStream (byte[], int, java.io.InputStream, long, org.h2.store.DataHandler)
public org.h2.value.Value convertTo (int)
public boolean isLinked ()
public java.lang.String getFileName ()
public void close ()
public void unlink ()
public org.h2.value.Value link (org.h2.store.DataHandler, int)
public int getTableId ()
public int getObjectId ()
public int getType ()
public long getPrecision ()
public java.lang.String getString ()
public byte[] getBytes ()
public byte[] getBytesNoCopy ()
public int hashCode ()
protected int compareSecure (org.h2.value.Value, org.h2.value.CompareMode)
public java.lang.Object getObject ()
public java.io.Reader getReader ()
public java.io.InputStream getInputStream ()
public void set (java.sql.PreparedStatement, int) throws java.sql.SQLException
public java.lang.String getSQL ()
public java.lang.String getTraceSQL ()
public byte[] getSmall ()
public int getDisplaySize ()
public boolean equals (java.lang.Object)
public void convertToFileIfRequired (org.h2.store.DataHandler)
public static void removeAllForTable (org.h2.store.DataHandler, int)
private static void removeAllForTable (org.h2.store.DataHandler, java.lang.String, int)
public boolean useCompression ()
public boolean isFileBased ()
private static synchronized void deleteFile (org.h2.store.DataHandler, java.lang.String)
private static synchronized void renameFile (org.h2.store.DataHandler, java.lang.String, java.lang.String)
private void copyFileTo (org.h2.store.DataHandler, java.lang.String, java.lang.String)
public void setFileName (java.lang.String, boolean)
public int getMemory ()
public org.h2.value.ValueLob copyToTemp ()
public volatile synthetic org.h2.value.Value copyToTemp ()
}
org/h2/value/ValueLobDb.classValueLobDb.java
package org.h2.value
public org.h2.value.ValueLobDb extends org.h2.value.Value implements org.h2.value.Value$ValueClob org.h2.value.Value$ValueBlob {
private final int type
private long precision
private int tableId
private int hash
private org.h2.store.LobStorage lobStorage
private long lobId
private byte[] small
private org.h2.store.DataHandler handler
private org.h2.store.FileStore tempFile
private String fileName
private void (int, org.h2.store.LobStorage, java.lang.String, int, long, long)
private void (int, byte[], long)
public static org.h2.value.ValueLobDb create (int, org.h2.store.LobStorage, java.lang.String, int, long, long)
public static org.h2.value.ValueLobDb createSmallLob (int, byte[], long)
public org.h2.value.Value convertTo (int)
public boolean isLinked ()
public void close ()
private static synchronized void deleteFile (org.h2.store.DataHandler, java.lang.String)
public void unlink ()
public org.h2.value.Value link (org.h2.store.DataHandler, int)
public int getTableId ()
public int getType ()
public long getPrecision ()
public java.lang.String getString ()
public byte[] getBytes ()
public byte[] getBytesNoCopy ()
public int hashCode ()
protected int compareSecure (org.h2.value.Value, org.h2.value.CompareMode)
public java.lang.Object getObject ()
public java.io.Reader getReader ()
public java.io.InputStream getInputStream ()
public void set (java.sql.PreparedStatement, int) throws java.sql.SQLException
public java.lang.String getSQL ()
public java.lang.String getTraceSQL ()
public byte[] getSmall ()
public int getDisplaySize ()
public boolean equals (java.lang.Object)
public boolean isFileBased ()
public int getMemory ()
public org.h2.value.ValueLobDb copyToTemp ()
public long getLobId ()
public void setPrecision (long)
public java.lang.String toString ()
public static org.h2.value.ValueLobDb createTempClob (java.io.Reader, long, org.h2.store.DataHandler)
public static org.h2.value.ValueLobDb createTempBlob (java.io.InputStream, long, org.h2.store.DataHandler)
private void createTempFromReader (char[], int, java.io.Reader, long, org.h2.store.DataHandler)
private void createTempFromStream (byte[], int, java.io.InputStream, long, org.h2.store.DataHandler)
private org.h2.store.FileStoreOutputStream initTemp (org.h2.store.DataHandler)
private static int getBufferSize (org.h2.store.DataHandler, boolean, long)
public volatile synthetic org.h2.value.Value copyToTemp ()
}
org/h2/value/ValueLong.classValueLong.java
package org.h2.value
public org.h2.value.ValueLong extends org.h2.value.Value {
public static final java.math.BigInteger MAX
public static final java.math.BigDecimal MIN_BD
public static final int PRECISION
public static final int DISPLAY_SIZE
private static final java.math.BigInteger MIN
private static final int STATIC_SIZE
private static final org.h2.value.ValueLong[] STATIC_CACHE
private final long value
private void (long)
public org.h2.value.Value add (org.h2.value.Value)
public int getSignum ()
public org.h2.value.Value negate ()
private org.h2.message.DbException getOverflow ()
public org.h2.value.Value subtract (org.h2.value.Value)
private boolean isInteger (long)
public org.h2.value.Value multiply (org.h2.value.Value)
public org.h2.value.Value divide (org.h2.value.Value)
public java.lang.String getSQL ()
public int getType ()
public long getLong ()
protected int compareSecure (org.h2.value.Value, org.h2.value.CompareMode)
public java.lang.String getString ()
public long getPrecision ()
public int hashCode ()
public java.lang.Object getObject ()
public void set (java.sql.PreparedStatement, int) throws java.sql.SQLException
public static org.h2.value.ValueLong get (long)
public int getDisplaySize ()
public boolean equals (java.lang.Object)
static void ()
}
org/h2/value/ValueNull.classValueNull.java
package org.h2.value
public org.h2.value.ValueNull extends org.h2.value.Value {
public static final org.h2.value.ValueNull INSTANCE
public static final org.h2.value.ValueNull DELETED
private static final int PRECISION
private static final int DISPLAY_SIZE
private void ()
public java.lang.String getSQL ()
public int getType ()
public java.lang.String getString ()
public java.lang.Boolean getBoolean ()
public java.sql.Date getDate ()
public java.sql.Time getTime ()
public java.sql.Timestamp getTimestamp ()
public byte[] getBytes ()
public byte getByte ()
public short getShort ()
public java.math.BigDecimal getBigDecimal ()
public double getDouble ()
public float getFloat ()
public int getInt ()
public long getLong ()
public java.io.InputStream getInputStream ()
public java.io.Reader getReader ()
public org.h2.value.Value convertTo (int)
protected int compareSecure (org.h2.value.Value, org.h2.value.CompareMode)
public long getPrecision ()
public int hashCode ()
public java.lang.Object getObject ()
public void set (java.sql.PreparedStatement, int) throws java.sql.SQLException
public int getDisplaySize ()
public boolean equals (java.lang.Object)
static void ()
}
org/h2/value/ValueResultSet.classValueResultSet.java
package org.h2.value
public org.h2.value.ValueResultSet extends org.h2.value.Value {
private final java.sql.ResultSet result
private void (java.sql.ResultSet)
public static org.h2.value.ValueResultSet get (java.sql.ResultSet)
public static org.h2.value.ValueResultSet getCopy (java.sql.ResultSet, int)
public int getType ()
public long getPrecision ()
public int getDisplaySize ()
public java.lang.String getString ()
protected int compareSecure (org.h2.value.Value, org.h2.value.CompareMode)
public boolean equals (java.lang.Object)
public int hashCode ()
public java.lang.Object getObject ()
public java.sql.ResultSet getResultSet ()
public void set (java.sql.PreparedStatement, int)
public java.lang.String getSQL ()
}
org/h2/value/ValueShort.classValueShort.java
package org.h2.value
public org.h2.value.ValueShort extends org.h2.value.Value {
static final int PRECISION
static final int DISPLAY_SIZE
private final short value
private void (short)
public org.h2.value.Value add (org.h2.value.Value)
private org.h2.value.ValueShort checkRange (int)
public int getSignum ()
public org.h2.value.Value negate ()
public org.h2.value.Value subtract (org.h2.value.Value)
public org.h2.value.Value multiply (org.h2.value.Value)
public org.h2.value.Value divide (org.h2.value.Value)
public java.lang.String getSQL ()
public int getType ()
public short getShort ()
protected int compareSecure (org.h2.value.Value, org.h2.value.CompareMode)
public java.lang.String getString ()
public long getPrecision ()
public int hashCode ()
public java.lang.Object getObject ()
public void set (java.sql.PreparedStatement, int) throws java.sql.SQLException
public static org.h2.value.ValueShort get (short)
public int getDisplaySize ()
public boolean equals (java.lang.Object)
}
org/h2/value/ValueString.classValueString.java
package org.h2.value
public org.h2.value.ValueString extends org.h2.value.Value {
private static final org.h2.value.ValueString EMPTY
protected final String value
protected void (java.lang.String)
public java.lang.String getSQL ()
public boolean equals (java.lang.Object)
protected int compareSecure (org.h2.value.Value, org.h2.value.CompareMode)
public java.lang.String getString ()
public long getPrecision ()
public java.lang.Object getObject ()
public void set (java.sql.PreparedStatement, int) throws java.sql.SQLException
public int getDisplaySize ()
public int getMemory ()
public org.h2.value.Value convertPrecision (long)
public int hashCode ()
public int getType ()
public static org.h2.value.ValueString get (java.lang.String)
protected org.h2.value.Value getNew (java.lang.String)
static void ()
}
org/h2/value/ValueStringFixed.classValueStringFixed.java
package org.h2.value
public org.h2.value.ValueStringFixed extends org.h2.value.ValueString {
private static final org.h2.value.ValueStringFixed EMPTY
protected void (java.lang.String)
private static java.lang.String trimRight (java.lang.String)
public int getType ()
public static org.h2.value.ValueStringFixed get (java.lang.String)
protected org.h2.value.Value getNew (java.lang.String)
static void ()
}
org/h2/value/ValueStringIgnoreCase.classValueStringIgnoreCase.java
package org.h2.value
public org.h2.value.ValueStringIgnoreCase extends org.h2.value.ValueString {
private static final org.h2.value.ValueStringIgnoreCase EMPTY
private int hash
protected void (java.lang.String)
public int getType ()
protected int compareSecure (org.h2.value.Value, org.h2.value.CompareMode)
public boolean equals (java.lang.Object)
public int hashCode ()
public java.lang.String getSQL ()
public static org.h2.value.ValueStringIgnoreCase get (java.lang.String)
protected org.h2.value.Value getNew (java.lang.String)
static void ()
}
org/h2/value/ValueTime.classValueTime.java
package org.h2.value
public org.h2.value.ValueTime extends org.h2.value.Value {
public static final int PRECISION
static final int DISPLAY_SIZE
private final java.sql.Time value
private void (java.sql.Time)
public static java.sql.Time parseTime (java.lang.String)
public java.sql.Time getTime ()
public java.sql.Time getTimeNoCopy ()
public java.lang.String getSQL ()
public int getType ()
protected int compareSecure (org.h2.value.Value, org.h2.value.CompareMode)
public java.lang.String getString ()
public long getPrecision ()
public int hashCode ()
public java.lang.Object getObject ()
public void set (java.sql.PreparedStatement, int) throws java.sql.SQLException
public static org.h2.value.ValueTime get (java.sql.Time)
public static org.h2.value.ValueTime getNoCopy (java.sql.Time)
public int getDisplaySize ()
public boolean equals (java.lang.Object)
public org.h2.value.Value add (org.h2.value.Value)
public org.h2.value.Value subtract (org.h2.value.Value)
public org.h2.value.Value multiply (org.h2.value.Value)
public org.h2.value.Value divide (org.h2.value.Value)
}
org/h2/value/ValueTimestamp.classValueTimestamp.java
package org.h2.value
public org.h2.value.ValueTimestamp extends org.h2.value.Value {
public static final int PRECISION
static final int DISPLAY_SIZE
static final int DEFAULT_SCALE
static final long YEAR_ONE
static final long YEAR_9999
private final java.sql.Timestamp value
private void (java.sql.Timestamp)
public java.sql.Timestamp getTimestamp ()
public java.sql.Timestamp getTimestampNoCopy ()
public java.lang.String getSQL ()
public static java.sql.Timestamp parseTimestamp (java.lang.String)
public int getType ()
protected int compareSecure (org.h2.value.Value, org.h2.value.CompareMode)
public java.lang.String getString ()
public long getPrecision ()
public int getScale ()
public int hashCode ()
public java.lang.Object getObject ()
public void set (java.sql.PreparedStatement, int) throws java.sql.SQLException
public static org.h2.value.ValueTimestamp get (java.sql.Timestamp)
public static org.h2.value.ValueTimestamp getNoCopy (java.sql.Timestamp)
public org.h2.value.Value convertScale (boolean, int)
public int getDisplaySize ()
public boolean equals (java.lang.Object)
public org.h2.value.Value add (org.h2.value.Value)
public org.h2.value.Value subtract (org.h2.value.Value)
static void ()
}
org/h2/value/ValueUuid.classValueUuid.java
package org.h2.value
public org.h2.value.ValueUuid extends org.h2.value.Value {
private static final int PRECISION
private static final int DISPLAY_SIZE
private final long high
private final long low
private void (long, long)
public int hashCode ()
public static org.h2.value.ValueUuid getNewRandom ()
public static org.h2.value.ValueUuid get (byte[])
public static org.h2.value.ValueUuid get (long, long)
public static org.h2.value.ValueUuid get (java.lang.String)
public java.lang.String getSQL ()
public int getType ()
public long getPrecision ()
private void appendHex (java.lang.StringBuilder, long, int)
public java.lang.String getString ()
protected int compareSecure (org.h2.value.Value, org.h2.value.CompareMode)
public boolean equals (java.lang.Object)
public java.lang.Object getObject ()
public byte[] getBytes ()
public void set (java.sql.PreparedStatement, int) throws java.sql.SQLException
public long getHigh ()
public long getLow ()
public int getDisplaySize ()
}