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 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 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 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 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 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 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 org.h2.command.dml.Select val$command
final 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 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 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 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 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 org.h2.result.SortOrder val$sortOrder
final 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 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 org.h2.value.CompareMode val$mode
final 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 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