JoinStrategyHashJoinStrategy, NestedLoopJoinStrategyabstract class BaseJoinStrategy extends java.lang.Object implements JoinStrategy
| Constructor | Description |
|---|---|
BaseJoinStrategy() |
| Modifier and Type | Method | Description |
|---|---|---|
boolean |
bulkFetchOK() |
Is it OK to use bulk fetch with this join strategy?
|
(package private) void |
fillInScanArgs1(TransactionController tc,
MethodBuilder mb,
Optimizable innerTable,
OptimizablePredicateList predList,
ExpressionClassBuilderInterface acbi,
int resultRowTemplate) |
Push the first set of common arguments for obtaining a scan ResultSet from
ResultSetFactory.
|
(package private) void |
fillInScanArgs2(MethodBuilder mb,
Optimizable innerTable,
int bulkFetch,
int colRefItem,
int indexColItem,
int lockMode,
boolean tableLocked,
int isolationLevel) |
|
boolean |
ignoreBulkFetch() |
Should we just ignore bulk fetch with this join strategy?
|
boolean |
isHashJoin() |
Is this a form of hash join?
|
protected boolean |
validForOutermostTable() |
Can this join strategy be used on the
outermost table of a join.
|
divideUpPredicateLists, doesMaterialization, estimateCost, feasible, getBasePredicates, getName, getOperatorSymbol, getScanArgs, halfOuterJoinResultSetMethodName, joinResultSetMethodName, maxCapacity, multiplyBaseCostByOuterRows, nonBasePredicateSelectivity, putBasePredicates, resultSetMethodName, scanCostTypepublic boolean bulkFetchOK()
JoinStrategybulkFetchOK in interface JoinStrategyJoinStrategy.bulkFetchOK()public boolean ignoreBulkFetch()
JoinStrategyignoreBulkFetch in interface JoinStrategyJoinStrategy.ignoreBulkFetch()void fillInScanArgs1(TransactionController tc, MethodBuilder mb, Optimizable innerTable, OptimizablePredicateList predList, ExpressionClassBuilderInterface acbi, int resultRowTemplate) throws StandardException
tc - mb - innerTable - predList - acbi - StandardExceptionfinal void fillInScanArgs2(MethodBuilder mb, Optimizable innerTable, int bulkFetch, int colRefItem, int indexColItem, int lockMode, boolean tableLocked, int isolationLevel) throws StandardException
StandardExceptionpublic boolean isHashJoin()
JoinStrategyisHashJoin in interface JoinStrategyJoinStrategy.isHashJoin()protected boolean validForOutermostTable()
Apache Derby V10.14 Internals - Copyright © 2004,2018 The Apache Software Foundation. All Rights Reserved.