Class CreateLinkedTable


  • public class CreateLinkedTable
    extends SchemaCommand
    This class represents the statement CREATE LINKED TABLE
    • Constructor Detail

    • Method Detail

      • setTableName

        public void setTableName​(java.lang.String tableName)
      • setDriver

        public void setDriver​(java.lang.String driver)
      • setOriginalTable

        public void setOriginalTable​(java.lang.String originalTable)
      • setPassword

        public void setPassword​(java.lang.String password)
      • setUrl

        public void setUrl​(java.lang.String url)
      • setUser

        public void setUser​(java.lang.String user)
      • 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: Prepared
        Execute the statement.
        Overrides:
        update in class Prepared
        Returns:
        the update count
      • setEmitUpdates

        public void setEmitUpdates​(boolean emitUpdates)
      • setComment

        public void setComment​(java.lang.String comment)
      • 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

        public void setOriginalSchema​(java.lang.String originalSchema)
      • getType

        public int getType()
        Description copied from class: Prepared
        Get the command type as defined in CommandInterface
        Specified by:
        getType in class Prepared
        Returns:
        the statement type