Class SqlOptions

  • Direct Known Subclasses:
    JDBCConnectOptions

    public class SqlOptions
    extends Object
    Represents the options one can use to customize the unwrapped connection/statement/resultset types
    Author:
    Paulo Lopes
    • Constructor Detail

      • SqlOptions

        public SqlOptions()
        Default constructor
      • SqlOptions

        public SqlOptions​(SqlOptions other)
        Copy constructor
        Parameters:
        other - the result to copy
    • Method Detail

      • isReadOnly

        public boolean isReadOnly()
      • setReadOnly

        public SqlOptions setReadOnly​(boolean readOnly)
      • getCatalog

        public String getCatalog()
      • isAutoGeneratedKeys

        public boolean isAutoGeneratedKeys()
      • setAutoGeneratedKeys

        public SqlOptions setAutoGeneratedKeys​(boolean autoGeneratedKeys)
      • getSchema

        public String getSchema()
      • getQueryTimeout

        public int getQueryTimeout()
      • setQueryTimeout

        public SqlOptions setQueryTimeout​(int queryTimeout)
      • getFetchSize

        public int getFetchSize()
      • setFetchSize

        public SqlOptions setFetchSize​(int fetchSize)
      • getAutoGeneratedKeysIndexes

        public JsonArray getAutoGeneratedKeysIndexes()
      • setAutoGeneratedKeysIndexes

        public SqlOptions setAutoGeneratedKeysIndexes​(JsonArray autoGeneratedKeysIndexes)
      • getMaxRows

        public int getMaxRows()
      • setMaxRows

        public SqlOptions setMaxRows​(int maxRows)