Package org.h2.command.ddl
Class CreateLinkedTable
java.lang.Object
org.h2.command.Prepared
org.h2.command.ddl.DefineCommand
org.h2.command.ddl.SchemaCommand
org.h2.command.ddl.CreateLinkedTable
This class represents the statement
CREATE LINKED TABLE
-
Field Summary
Fields inherited from class org.h2.command.ddl.DefineCommand
transactionalFields inherited from class org.h2.command.Prepared
create, parameters, prepareAlways, session, sqlStatement, sqlTokens -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintgetType()Get the command type as defined in CommandInterfacevoidsetAutoCommit(boolean mode) Specify if the autocommit mode is activated or notvoidsetComment(String comment) voidvoidsetEmitUpdates(boolean emitUpdates) voidsetFetchSize(int fetchSize) Specify the number of rows fetched by the linked table commandvoidsetForce(boolean force) voidsetGlobalTemporary(boolean globalTemp) voidsetIfNotExists(boolean ifNotExists) voidsetOriginalSchema(String originalSchema) voidsetOriginalTable(String originalTable) voidsetPassword(String password) voidsetReadOnly(boolean readOnly) voidsetTableName(String tableName) voidsetTemporary(boolean temp) voidvoidlongupdate()Execute the statement.Methods inherited from class org.h2.command.ddl.SchemaCommand
getSchemaMethods inherited from class org.h2.command.ddl.DefineCommand
isReadOnly, isRetryable, isTransactional, queryMeta, setTransactionalMethods inherited from class org.h2.command.Prepared
checkCanceled, checkParameters, collectDependencies, getCurrentRowNumber, getDatabase, getObjectId, getParameters, getPersistedObjectId, getPlanSQL, getPlanSQL, getSession, getSimpleSQL, getSQL, getSQLTokens, invalidateCachedResult, isCacheable, isQuery, isWithParamValues, needRecompile, prepare, query, setCommand, setCurrentRowNumber, setParameterList, setPersistedObjectId, setPrepareAlways, setRow, setSession, setSQL, setWithParamValues, toString
-
Constructor Details
-
CreateLinkedTable
-
-
Method Details
-
setTableName
-
setDriver
-
setOriginalTable
-
setPassword
-
setUrl
-
setUser
-
setIfNotExists
public void setIfNotExists(boolean ifNotExists) -
setFetchSize
public void setFetchSize(int fetchSize) Specify the number of rows fetched by the linked table command- Parameters:
fetchSize- to set
-
setAutoCommit
public void setAutoCommit(boolean mode) Specify if the autocommit mode is activated or not- Parameters:
mode- to set
-
update
public long update()Description copied from class:PreparedExecute the statement. -
setEmitUpdates
public void setEmitUpdates(boolean emitUpdates) -
setComment
-
setForce
public void setForce(boolean force) -
setTemporary
public void setTemporary(boolean temp) -
setGlobalTemporary
public void setGlobalTemporary(boolean globalTemp) -
setReadOnly
public void setReadOnly(boolean readOnly) -
setOriginalSchema
-
getType
public int getType()Description copied from class:PreparedGet the command type as defined in CommandInterface
-