Package com.j_spaces.jdbc.driver
Class GPreparedStatement.PreparedValuesCollection
java.lang.Object
com.j_spaces.jdbc.driver.GPreparedStatement.PreparedValuesCollection
- All Implemented Interfaces:
SmartExternalizable,Externalizable,Serializable
- Enclosing class:
- GPreparedStatement
public static class GPreparedStatement.PreparedValuesCollection
extends Object
implements SmartExternalizable
An implementation for holding the prepared values & prepared values batch.
Note: The values set status in not serialized since its only used for validation.
- Since:
- 8.0
- Author:
- idan
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.gigaspaces.serialization.SmartExternalizable
enabledSmartExternalizableWithReference
-
Constructor Details
-
PreparedValuesCollection
public PreparedValuesCollection() -
PreparedValuesCollection
public PreparedValuesCollection(int numberOfValues)
-
-
Method Details
-
getBatchValues
-
allValuesAreSet
public boolean allValuesAreSet() -
setValue
-
getCurrentValues
-
addBatch
public void addBatch() -
resetCurrentValues
public void resetCurrentValues() -
size
public int size() -
clear
public void clear() -
readExternal
- Specified by:
readExternalin interfaceExternalizable- Throws:
IOExceptionClassNotFoundException
-
writeExternal
- Specified by:
writeExternalin interfaceExternalizable- Throws:
IOException
-