Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.apache.derby.impl.sql.execute
Class HashJoinResultSet  view HashJoinResultSet download HashJoinResultSet.java

java.lang.Object
  extended byorg.apache.derby.impl.sql.execute.BasicNoPutResultSetImpl
      extended byorg.apache.derby.impl.sql.execute.NoPutResultSetImpl
          extended byorg.apache.derby.impl.sql.execute.JoinResultSet
              extended byorg.apache.derby.impl.sql.execute.NestedLoopJoinResultSet
                  extended byorg.apache.derby.impl.sql.execute.HashJoinResultSet
All Implemented Interfaces:
org.apache.derby.iapi.sql.execute.CursorResultSet, org.apache.derby.iapi.sql.execute.NoPutResultSet, org.apache.derby.iapi.sql.ResultSet, org.apache.derby.iapi.store.access.RowLocationRetRowSource, org.apache.derby.iapi.store.access.RowSource

public class HashJoinResultSet
extends NestedLoopJoinResultSet

Hash join of 2 arbitrary result sets. Simple subclass of nested loop, differentiated to ease RunTimeStatistics output generation.


Field Summary
 
Fields inherited from class org.apache.derby.impl.sql.execute.NestedLoopJoinResultSet
 
Fields inherited from class org.apache.derby.impl.sql.execute.JoinResultSet
activation, beginTime, checkGM, checkNullCols, clonedExecRow, closeCleanup, closeTime, cncLen, compactRow, constructorTime, currentRow, endExecutionTime, finished, heapConglomerate, indent, isOpen, isRightOpen, isTopResultSet, lcc, leftNumCols, leftResultSet, leftRow, mergedRow, nextTime, notExistsRightSide, numOpens, oneRowRightSide, openTime, optimizerEstimatedCost, optimizerEstimatedRowCount, restriction, restrictionTime, resultDescription, resultSetNumber, rightNumCols, rightResultSet, rightRow, rowsFiltered, rowsReturned, rowsSeen, rowsSeenLeft, rowsSeenRight, sourceDepth, startExecutionTime, subIndent, subqueryTrackingArray, targetResultSet
 
Fields inherited from interface org.apache.derby.iapi.sql.ResultSet
CURRENT_RESULTSET_ONLY, ENTIRE_RESULTSET_TREE, ISAFTERLAST, ISBEFOREFIRST, ISFIRST, ISLAST
 
Fields inherited from interface org.apache.derby.iapi.sql.execute.NoPutResultSet
ABSOLUTE, FIRST, LAST, NEXT, PREVIOUS, RELATIVE
 
Constructor Summary
HashJoinResultSet(org.apache.derby.iapi.sql.execute.NoPutResultSet leftResultSet, int leftNumCols, org.apache.derby.iapi.sql.execute.NoPutResultSet rightResultSet, int rightNumCols, org.apache.derby.iapi.sql.Activation activation, org.apache.derby.iapi.services.loader.GeneratedMethod restriction, int resultSetNumber, boolean oneRowRightSide, boolean notExistsRightSide, double optimizerEstimatedRowCount, double optimizerEstimatedCost, org.apache.derby.iapi.services.loader.GeneratedMethod closeCleanup)
           
 
Methods inherited from class org.apache.derby.impl.sql.execute.NestedLoopJoinResultSet
clearScanState, close, getNextRowCore, getTimeSpent
 
Methods inherited from class org.apache.derby.impl.sql.execute.JoinResultSet
addWarning, attachStatementContext, checkRowPosition, cleanUp, clearCurrentRow, clearOrderableCache, closeRight, closeRowSource, dumpTimeStats, finish, finishAndRTS, getAbsoluteRow, getAutoGeneratedKeysResultset, getBeginExecutionTimestamp, getCompactRow, getCurrentRow, getCurrentTimeMillis, getCursorName, getElapsedMillis, getEndExecutionTimestamp, getEstimatedRowCount, getExecuteTime, getExecutionFactory, getFirstRow, getLanguageConnectionContext, getLastRow, getNextRow, getNextRowFromRowSource, getPointOfAttachment, getPreviousRow, getRelativeRow, getResultDescription, getRowLocation, getRowNumber, getScanIsolationLevel, getSubqueryTrackingArray, getTransactionController, getValidColumns, getWarnings, isClosed, isForUpdate, markAsTopResultSet, modifiedRowCount, needsRowLocation, needsToClone, open, openCore, openRight, printQualifiers, reopenCore, requiresRelocking, resultSetNumber, returnsRows, rowLocation, setAfterLastRow, setBeforeFirstRow, setCheckConstraints, setCompactRow, setCompatRow, setCurrentRow, setHeapConglomerate, setNeedsRowLocation, setTargetResultSet, skipRow, skipScan
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.apache.derby.iapi.sql.ResultSet
checkRowPosition, cleanUp, getAbsoluteRow, getAutoGeneratedKeysResultset, getBeginExecutionTimestamp, getCursorName, getEndExecutionTimestamp, getExecuteTime, getFirstRow, getLastRow, getNextRow, getPreviousRow, getRelativeRow, getResultDescription, getRowNumber, getSubqueryTrackingArray, getWarnings, isClosed, modifiedRowCount, open, returnsRows, setAfterLastRow, setBeforeFirstRow
 

Constructor Detail

HashJoinResultSet

public HashJoinResultSet(org.apache.derby.iapi.sql.execute.NoPutResultSet leftResultSet,
                         int leftNumCols,
                         org.apache.derby.iapi.sql.execute.NoPutResultSet rightResultSet,
                         int rightNumCols,
                         org.apache.derby.iapi.sql.Activation activation,
                         org.apache.derby.iapi.services.loader.GeneratedMethod restriction,
                         int resultSetNumber,
                         boolean oneRowRightSide,
                         boolean notExistsRightSide,
                         double optimizerEstimatedRowCount,
                         double optimizerEstimatedCost,
                         org.apache.derby.iapi.services.loader.GeneratedMethod closeCleanup)