public final class CachedPrepareResultPacket extends PrepareResultPacket
statementId| Constructor and Description |
|---|
CachedPrepareResultPacket(com.singlestore.jdbc.client.ReadableByteBuf buffer,
PacketReader reader,
Context context) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
cache() |
void |
close(com.singlestore.jdbc.client.Client con) |
void |
decrementUse(com.singlestore.jdbc.client.Client con,
ServerPreparedStatement preparedStatement) |
int |
getStatementId() |
void |
incrementUse(ServerPreparedStatement preparedStatement) |
void |
reset() |
void |
unCache(com.singlestore.jdbc.client.Client con) |
getColumns, getParameters, setColumnspublic CachedPrepareResultPacket(com.singlestore.jdbc.client.ReadableByteBuf buffer,
PacketReader reader,
Context context)
throws IOException
IOExceptionpublic void close(com.singlestore.jdbc.client.Client con)
throws SQLException
close in class PrepareResultPacketSQLExceptionpublic void decrementUse(com.singlestore.jdbc.client.Client con,
ServerPreparedStatement preparedStatement)
throws SQLException
decrementUse in class PrepareResultPacketSQLExceptionpublic void incrementUse(ServerPreparedStatement preparedStatement)
public void unCache(com.singlestore.jdbc.client.Client con)
public boolean cache()
public int getStatementId()
getStatementId in class PrepareResultPacketpublic void reset()
Copyright © 2023 SingleStore. All rights reserved.