Package com.ocient.jdbc
Class FetchSummary
java.lang.Object
com.ocient.jdbc.FetchSummary
Represents a summary of a fetch operation, including information about the sequence number, the
number of rows fetched, and the detection of a DEM (Data End Marker).
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintlongbooleanvoidsetDemFound(boolean demFound) Sets whether a Data End Marker (DEM) was found during the fetch operation.voidsetNumRows(int numRows) Sets the number of rows fetched.voidsetSequenceNumber(long sequenceNumber) Sets the sequence number associated with the rows fetched.toString()
-
Field Details
-
NO_SEQUENCE_NUMBER
public static final long NO_SEQUENCE_NUMBER- See Also:
-
-
Constructor Details
-
FetchSummary
public FetchSummary()
-
-
Method Details
-
getSequenceNumber
public long getSequenceNumber()- Returns:
- The sequence number, or
NO_SEQUENCE_NUMBERif not defined.
-
setSequenceNumber
public void setSequenceNumber(long sequenceNumber) Sets the sequence number associated with the rows fetched. -
getNumRows
public int getNumRows()- Returns:
- The number of rows fetched as part of this operation.
-
setNumRows
public void setNumRows(int numRows) Sets the number of rows fetched. -
isDemFound
public boolean isDemFound()- Returns:
- True if a DEM was found, false otherwise.
-
setDemFound
public void setDemFound(boolean demFound) Sets whether a Data End Marker (DEM) was found during the fetch operation. -
toString
-