| Modifier and Type | Field and Description |
|---|---|
| private RowLocation | |
| private ExecRow | |
| private boolean | |
| private boolean | |
| pack-priv ConglomerateController | |
| private TemporaryRowHolderImpl | |
| pack-priv DataValueDescriptor[] | |
| pack-priv ScanController | |
| private boolean | |
| private boolean | |
| private boolean | |
| private int | |
| private long | |
| private ResultDescription | |
| private ExecRow[] | |
| private ScanController | |
| private TransactionController |
| Access | Constructor and Description |
|---|---|
| public | TemporaryRowHolderResultSet(TransactionController
the xact controller tc, ExecRow[] the row array rowArray, ResultDescription value returned by getResultDescription() resultDescription, boolean isVirtualMemHeap, TemporaryRowHolderImpl holder)Constructor |
| public | TemporaryRowHolderResultSet(TransactionController
the xact controller tc, ExecRow[] the row array rowArray, ResultDescription value returned by getResultDescription() resultDescription, boolean isVirtualMemHeap, boolean true,if we can insert rows after this result is created isAppendable, long conglomId of the index which has order rows
are inserted and their row location positionIndexConglomId, TemporaryRowHolderImpl holder)Constructor |
| Modifier and Type | Method and Description |
|---|---|
| public void | addWarning(SQLWarning
the warning to add w)Implements org. Add a warning to this result set. |
| public boolean | Returns: true if before the first row, false otherwise. Returns false when the result set contains no rows.The desired position type isType)Implements org. Determine if the cursor is before the first row in the result set. |
| public void | cleanUp()
Implements org. Tells the system to clean up on an error. |
| public void | clearCurrentRow()
Implements org. Clear the current row |
| public Object | |
| public void | |
| public void | closeRowSource()
Implements org. closeRowSource tells the RowSource that it will no longer need to return any rows and it can release any resource it may have. |
| public void | |
| public void | finish()
Implements org. Tells the system that there will be no more access to any database information via this result set; in particular, no more calls to open(). |
| public ExecRow | Returns: The row at the absolute position, or NULL if no such position.The position. row)Implements org. Returns the row at the absolute position from the query, and returns NULL when there is no such position. |
| public final Activation | Returns: activationImplements org. Return the |
| public ResultSet | getAutoGeneratedKeysResultset()
Implements org. ResultSet for rows inserted into the table (contains auto-generated keys columns only) |
| public Timestamp | Returns: Timestamp The Timestamp for the beginning of execution.Implements org. Get the Timestamp for the beginning of execution. |
| public ExecRow | Returns: the last row returned;Implements org. This result set has its row from the last fetch done. |
| public String | Returns: A String with the name of the cursor, if any. Returns NULL if this is not a cursor statement.Implements org. Returns the name of the cursor, if this is cursor statement of some type (declare, open, fetch, positioned update, positioned delete, close). |
| public Timestamp | Returns: Timestamp The Timestamp for the end of execution.Implements org. Get the Timestamp for the end of execution. |
| public double | Returns: The estimated row count (as a double) from this result set.Implements org. Get the estimated row count from this result set. |
| public long | Returns: long The execution time in milliseconds.Implements org. Get the execution time in milliseconds. |
| public ExecRow | Returns: The first row, or NULL if no rows.Implements org. Returns the first row from the query, and returns NULL when there are no rows. |
| public ExecRow | Returns: The last row, or NULL if no rows.Implements org. Returns the last row from the query, and returns NULL when there are no rows. |
| public static TemporaryRowHolderResultSet | Returns: a single row result setWe are building Temp resultset for this trigger triggerd, Activation the activation activation, CursorResultSet the result set rs, int[] The passed resultset is composed of
these columns. We will create a temp resultset which
will have either all these columns or only a subset of
these columns. It all depends on what columns are needed
by the trigger. If this param is null, then that means that
all the columns from the trigger table have been read into
the passed resultset. colsReadFromTable)Whip up a new Temp ResultSet that has a single row. |
| private ExecRow | |
| public ExecRow | Returns: The next row, or NULL if no more rows.Implements org. Returns the next row from the query, and returns NULL when there are no more rows. |
| public ExecRow | Returns: the next row, or null if noneImplements org. Get the next row. |
| public DataValueDescriptor[] | getNextRowFromRowSource()
Implements org. Get the next row as an array of column objects. |
| public int | Returns: int Point of attachment (result set number) for this subquery. (-1 if not a subquery - also Sanity violation)Implements org. Return the point of attachment for this subquery. |
| public ExecRow | Returns: The previous row, or NULL if no more previous rows.Implements org. Returns the previous row from the query, and returns NULL when there are no more previous rows. |
| public ExecRow | Returns: The row at the relative position, or NULL if no such position.The position. row)Implements org. Returns the row at the relative position from the current cursor position, and returns NULL when there is no such position. |
| public ResultDescription | Returns: A ResultDescription describing the results of the statement.Implements org. Returns a ResultDescription object, which describes the results of the statement this ResultSet is in. This will *not* be a description of this particular ResultSet, if this is not the outermost ResultSet. |
| public RowLocation | Returns: the row location of the current cursor row.Implements org. Returns the row location of the current base table row of the cursor. |
| public int | Returns: the row number, or 0 if not on a rowImplements org. Returns the row number of the current row. |
| public int | Returns: The isolation level of the scan (in TransactionController constants).Implements org. Return the isolation level of the scan in the result set. |
| public NoPutResultSet[] | Returns: NoPutResultSet[] Array of NoPutResultSets for subqueries.The size of the array (For allocation on demand.) numSubqueries)Implements org. Get the subquery ResultSet tracking array from the top ResultSet. |
| public long | Returns: long The total amount of time spent (in milliseconds).CURRENT_RESULTSET_ONLY - time spent only in this ResultSet
ENTIRE_RESULTSET_TREE - time spent in this ResultSet and below. type)Implements org. Return the total amount of time spent in this ResultSet |
| public FormatableBitSet | getValidColumns()
Implements org. getValidColumns describes the DataValueDescriptor[] returned by all calls to the getNextRowFromRowSource() call. |
| public SQLWarning | getWarnings()
Implements org. Return the set of warnings generated during the execution of this result set. |
| public boolean | Returns: true if the ResultSet has been closed.Implements org. Find out if the ResultSet is closed or not. |
| public boolean | Returns: Whether or not the result set is for update.Implements org. Is this ResultSet or it's source result set for update This method will be overriden in the inherited Classes if it is true |
| private static int[] | |
| public void | markAsTopResultSet()
Implements org. Mark the ResultSet as the topmost one in the ResultSet tree. |
| public void | markRowAsDeleted()
Implements org. Marks the resultSet's currentRow as deleted after a delete has been issued by either by using positioned delete or JDBC's deleteRow method. |
| public long | modifiedRowCount()
Implements org. Returns the number of rows affected by the statement. |
| public boolean | Returns: true iff this row source expects some row location to be returnedImplements org. needsRowLocation returns true iff this the row source expects the drainer of the row source to call rowLocation after getting a row from getNextRowFromRowSource. |
| public boolean | |
| public boolean | needsToClone()
Implements org. Does the caller of getNextRowFromRowSource() need to clone the row in order to keep a reference to the row past the getNextRowFromRowSource() call which returned the row. |
| public void | offendingRowLocation(RowLocation rl, long containdId)
Implements org.
|
| public void | open()
Implements org. Tells the system that there will be calls to getNextRow(). |
| public void | openCore()
Implements org. Open the scan and evaluate qualifiers and the like. |
| public void | positionScanAtRowLocation(RowLocation
row location of the current cursor row rl)Implements org. Positions the cursor in the specified rowLocation. |
| public void | reopenCore()
Implements org. Reopen the scan. |
| public boolean | requiresRelocking()
Implements org. Do we need to relock the row when going to the heap. |
| public void | |
| public void | reStartScan(long currentConglomId, long pconglomId)
postion scan to start from after where we stopped earlier |
| public int | resultSetNumber()
Implements org. Get the number of this ResultSet, which is guaranteed to be unique within a statement. |
| public boolean | Returns: TRUE if the statement returns rows, FALSE if not.Implements org. Returns TRUE if the statement returns rows (i.e. is a SELECT or FETCH statement), FALSE if it returns no rows. |
| public void | rowLocation(RowLocation rl)
Implements org. rowLocation is a callback for the drainer of the row source to return the rowLocation of the current row, i.e, the row that is being returned by getNextRowFromRowSource. |
| public ExecRow | Returns: NULL.Implements org. Sets the current position to after the last row and returns NULL because there is no current row. |
| public ExecRow | Returns: NULL.Implements org. Sets the current position to before the first row and returns NULL because there is no current row. |
| public void | setCurrentRow(ExecRow
the new current row row)Implements org. Set the current row to the row passed in. |
| public void | setHasDeferrableChecks()
Implements org. Set that we are acting on behalf of an insert result set that has deferrable check constraints |
| public void | setNeedsRowLocation(boolean needsRowLocation)
Implements org. Set whether or not the NPRS need the row location when acting as a row source. |
| public void | setTargetResultSet(TargetResultSet
The TargetResultSet. trs)Implements org. Notify a NPRS that it is the source for the specified TargetResultSet. |
| private void | |
| private static int[] | |
| private static int[] | |
| public Element | toXML(Element
Node to put content into. parentNode, String Element tag for content tag)Implements org. Produce an xml image of this ResultSet and its descendant ResultSets. |
| public void | updateRow(ExecRow
new values for the currentRow row, RowChanger holds information about row: what columns of it is to
be used for updating, and what underlying base table column each
such column corresponds to. rowChanger)Implements org. Updates the resultSet's current row with it's new values after an update has been issued either using positioned update or JDBC's udpateRow method. |