Package com.aerospike.jdbc
Class AerospikeStatement
java.lang.Object
com.aerospike.jdbc.AerospikeStatement
- All Implemented Interfaces:
SimpleWrapper
,AutoCloseable
,Statement
,Wrapper
- Direct Known Subclasses:
AerospikePreparedStatement
public class AerospikeStatement extends Object implements Statement, SimpleWrapper
-
Field Summary
Fields Modifier and Type Field Description static io.trino.sql.parser.ParsingOptions
parsingOptions
static io.trino.sql.parser.SqlParser
SQL_PARSER
Fields inherited from interface java.sql.Statement
CLOSE_ALL_RESULTS, CLOSE_CURRENT_RESULT, EXECUTE_FAILED, KEEP_CURRENT_RESULT, NO_GENERATED_KEYS, RETURN_GENERATED_KEYS, SUCCESS_NO_INFO
-
Constructor Summary
Constructors Constructor Description AerospikeStatement(com.aerospike.client.IAerospikeClient client, Connection connection)
-
Method Summary
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.sql.Statement
enquoteIdentifier, enquoteLiteral, enquoteNCharLiteral, executeLargeBatch, executeLargeUpdate, executeLargeUpdate, executeLargeUpdate, executeLargeUpdate, getLargeMaxRows, getLargeUpdateCount, isSimpleIdentifier, setLargeMaxRows
-
Field Details
-
SQL_PARSER
public static final io.trino.sql.parser.SqlParser SQL_PARSER -
parsingOptions
public static final io.trino.sql.parser.ParsingOptions parsingOptions
-
-
Constructor Details
-
Method Details
-
executeQuery
- Specified by:
executeQuery
in interfaceStatement
-
executeUpdate
- Specified by:
executeUpdate
in interfaceStatement
-
close
public void close()- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceStatement
-
getMaxFieldSize
public int getMaxFieldSize()- Specified by:
getMaxFieldSize
in interfaceStatement
-
setMaxFieldSize
- Specified by:
setMaxFieldSize
in interfaceStatement
- Throws:
SQLException
-
getMaxRows
public int getMaxRows()- Specified by:
getMaxRows
in interfaceStatement
-
setMaxRows
public void setMaxRows(int max)- Specified by:
setMaxRows
in interfaceStatement
-
setEscapeProcessing
public void setEscapeProcessing(boolean enable)- Specified by:
setEscapeProcessing
in interfaceStatement
-
getQueryTimeout
public int getQueryTimeout()- Specified by:
getQueryTimeout
in interfaceStatement
-
setQueryTimeout
public void setQueryTimeout(int seconds)- Specified by:
setQueryTimeout
in interfaceStatement
-
cancel
- Specified by:
cancel
in interfaceStatement
- Throws:
SQLException
-
getWarnings
- Specified by:
getWarnings
in interfaceStatement
-
clearWarnings
public void clearWarnings()- Specified by:
clearWarnings
in interfaceStatement
-
setCursorName
- Specified by:
setCursorName
in interfaceStatement
- Throws:
SQLException
-
execute
-
getResultSet
- Specified by:
getResultSet
in interfaceStatement
-
getUpdateCount
public int getUpdateCount()- Specified by:
getUpdateCount
in interfaceStatement
-
getMoreResults
public boolean getMoreResults()- Specified by:
getMoreResults
in interfaceStatement
-
setFetchDirection
- Specified by:
setFetchDirection
in interfaceStatement
- Throws:
SQLException
-
getFetchDirection
public int getFetchDirection()- Specified by:
getFetchDirection
in interfaceStatement
-
setFetchSize
public void setFetchSize(int rows)- Specified by:
setFetchSize
in interfaceStatement
-
getFetchSize
public int getFetchSize()- Specified by:
getFetchSize
in interfaceStatement
-
getResultSetConcurrency
public int getResultSetConcurrency()- Specified by:
getResultSetConcurrency
in interfaceStatement
-
getResultSetType
public int getResultSetType()- Specified by:
getResultSetType
in interfaceStatement
-
addBatch
- Specified by:
addBatch
in interfaceStatement
- Throws:
SQLException
-
clearBatch
- Specified by:
clearBatch
in interfaceStatement
- Throws:
SQLException
-
executeBatch
- Specified by:
executeBatch
in interfaceStatement
- Throws:
SQLException
-
getConnection
- Specified by:
getConnection
in interfaceStatement
-
getMoreResults
public boolean getMoreResults(int current)- Specified by:
getMoreResults
in interfaceStatement
-
getGeneratedKeys
- Specified by:
getGeneratedKeys
in interfaceStatement
-
executeUpdate
- Specified by:
executeUpdate
in interfaceStatement
- Throws:
SQLException
-
executeUpdate
- Specified by:
executeUpdate
in interfaceStatement
- Throws:
SQLException
-
executeUpdate
- Specified by:
executeUpdate
in interfaceStatement
- Throws:
SQLException
-
execute
- Specified by:
execute
in interfaceStatement
- Throws:
SQLException
-
execute
- Specified by:
execute
in interfaceStatement
- Throws:
SQLException
-
execute
- Specified by:
execute
in interfaceStatement
- Throws:
SQLException
-
getResultSetHoldability
public int getResultSetHoldability()- Specified by:
getResultSetHoldability
in interfaceStatement
-
isClosed
public boolean isClosed() -
setPoolable
- Specified by:
setPoolable
in interfaceStatement
- Throws:
SQLException
-
isPoolable
public boolean isPoolable()- Specified by:
isPoolable
in interfaceStatement
-
closeOnCompletion
public void closeOnCompletion()- Specified by:
closeOnCompletion
in interfaceStatement
-
isCloseOnCompletion
public boolean isCloseOnCompletion()- Specified by:
isCloseOnCompletion
in interfaceStatement
-