Class CreateLinkedTable


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

  • Method Details

    • setTableName

      public void setTableName(String tableName)
    • setDriver

      public void setDriver(String driver)
    • setOriginalTable

      public void setOriginalTable(String originalTable)
    • setPassword

      public void setPassword(String password)
    • setUrl

      public void setUrl(String url)
    • setUser

      public void setUser(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(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(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