Java Doc for BinaryRelationalOperatorNode.java in  » Database-DBMS » db-derby-10.2 » org » apache » derby » impl » sql » compile » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » Database DBMS » db derby 10.2 » org.apache.derby.impl.sql.compile 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   org.apache.derby.impl.sql.compile.QueryTreeNode
      org.apache.derby.impl.sql.compile.ValueNode
         org.apache.derby.impl.sql.compile.BinaryOperatorNode
            org.apache.derby.impl.sql.compile.BinaryComparisonOperatorNode
               org.apache.derby.impl.sql.compile.BinaryRelationalOperatorNode

BinaryRelationalOperatorNode
public class BinaryRelationalOperatorNode extends BinaryComparisonOperatorNode implements RelationalOperator(Code)
This class represents the 6 binary operators: LessThan, LessThanEquals, Equals, NotEquals, GreaterThan and GreaterThanEquals.
author:
   Manish Khettry


Field Summary
final protected static  intLEFT
    
final protected static  intNEITHER
    
final protected static  intRIGHT
    
 JBitSetoptBaseTables
    
 JBitSetvalNodeBaseTables
    


Method Summary
protected  doublebooleanSelectivity(Optimizable optTable)
     Return 50% if this is a comparison with a boolean column, a negative selectivity otherwise.
protected  intcolumnOnOneSide(Optimizable optTable)
    
public  booleancompareWithKnownConstant(Optimizable optTable, boolean considerParameters)
    
public  booleanequalsComparisonWithConstantExpression(Optimizable optTable)
    
public  ValueNodegenSQLJavaSQLTree()
    
public  voidgenerateAbsoluteColumnId(MethodBuilder mb, Optimizable optTable)
    
public  voidgenerateExpressionOperand(Optimizable optTable, int columnPosition, ExpressionClassBuilder acb, MethodBuilder mb)
    
public  voidgenerateNegate(MethodBuilder mb, Optimizable optTable)
    
public  voidgenerateOperator(MethodBuilder mb, Optimizable optTable)
    
public  voidgenerateOrderedNulls(MethodBuilder mb)
    
public  voidgenerateQualMethod(ExpressionClassBuilder acb, MethodBuilder mb, Optimizable optTable)
    
public  voidgenerateRelativeColumnId(MethodBuilder mb, Optimizable optTable)
    
public  ColumnReferencegetColumnOperand(Optimizable optTable, int columnPosition)
    
public  ColumnReferencegetColumnOperand(Optimizable optTable)
    
public  DataValueDescriptorgetCompareValue(Optimizable optTable)
    
public  ValueNodegetExpressionOperand(int tableNumber, int columnPosition, FromTable ft)
    
 BinaryOperatorNodegetNegation(ValueNode leftOperand, ValueNode rightOperand)
     Returns the negation of this operator; negation of Equals is NotEquals.
public  ValueNodegetOperand(ColumnReference cRef, int refSetSize, boolean otherSide)
    
public  intgetOperator()
    
public  intgetOrderableVariantType(Optimizable optTable)
    
public  StringgetReceiverInterfaceName()
     The methods generated for this node all are on Orderable.
public  ValueNodegetScopedOperand(int whichSide, JBitSet parentRSNsTables, ResultSetNode childRSN, int[] whichRC)
     Take a ResultSetNode and return a column reference that is scoped for for the received ResultSetNode, where "scoped" means that the column reference points to a specific column in the RSN.
public  intgetStartOperator(Optimizable optTable)
    
public  intgetStopOperator(Optimizable optTable)
    
public  RelationalOperatorgetTransitiveSearchClause(ColumnReference otherCR)
    
public  voidinit(Object leftOperand, Object rightOperand)
    
public  booleanisBinaryEqualsOperatorNode()
    
public  booleanisQualifier(Optimizable optTable, boolean forPush)
    
public  booleanisRelationalOperator()
    
protected  booleankeyColumnOnLeft(Optimizable optTable)
     Return true if a key column for the given table is found on the left side of this operator, false if it is found on the right side of this operator. NOTE: This method assumes that a key column will be found on one side or the other.
public  booleanoptimizableEqualityNode(Optimizable optTable, int columnNumber, boolean isNullOkay)
    
public  booleanorderedNulls()
    
public  doubleselectivity(Optimizable optTable)
     return the selectivity of this predicate.
public  booleanselfComparison(ColumnReference cr)
    
public  booleanusefulStartKey(Optimizable optTable)
    
protected  booleanusefulStartKey(boolean columnOnLeft)
     is this is useful start key? for example a predicate of the from column Lessthan 5 is not a useful start key but is a useful stop key.
public  booleanusefulStopKey(Optimizable optTable)
    
protected  booleanusefulStopKey(boolean columnOnLeft)
    

Field Detail
LEFT
final protected static int LEFT(Code)



NEITHER
final protected static int NEITHER(Code)



RIGHT
final protected static int RIGHT(Code)



optBaseTables
JBitSet optBaseTables(Code)



valNodeBaseTables
JBitSet valNodeBaseTables(Code)





Method Detail
booleanSelectivity
protected double booleanSelectivity(Optimizable optTable) throws StandardException(Code)
Return 50% if this is a comparison with a boolean column, a negative selectivity otherwise.



columnOnOneSide
protected int columnOnOneSide(Optimizable optTable)(Code)
Determine whether there is a column from the given table on one side of this operator, and if so, which side is it on?
Parameters:
  optTable - The Optimizable table that we're looking for a keycolumn on. LEFT if there is a column on the left, RIGHT if there isa column on the right, NEITHER if no column found on eitherside.



compareWithKnownConstant
public boolean compareWithKnownConstant(Optimizable optTable, boolean considerParameters)(Code)

See Also:   RelationalOperator.compareWithKnownConstant
See Also:   



equalsComparisonWithConstantExpression
public boolean equalsComparisonWithConstantExpression(Optimizable optTable)(Code)



genSQLJavaSQLTree
public ValueNode genSQLJavaSQLTree() throws StandardException(Code)



generateAbsoluteColumnId
public void generateAbsoluteColumnId(MethodBuilder mb, Optimizable optTable)(Code)

See Also:   RelationalOperator.generateAbsoluteColumnId
See Also:   



generateExpressionOperand
public void generateExpressionOperand(Optimizable optTable, int columnPosition, ExpressionClassBuilder acb, MethodBuilder mb) throws StandardException(Code)

See Also:   RelationalOperator.generateExpressionOperand
exception:
  StandardException - Thrown on error



generateNegate
public void generateNegate(MethodBuilder mb, Optimizable optTable)(Code)

See Also:   RelationalOperator.generateNegate
See Also:   



generateOperator
public void generateOperator(MethodBuilder mb, Optimizable optTable)(Code)

See Also:   RelationalOperator.generateOperator
See Also:   



generateOrderedNulls
public void generateOrderedNulls(MethodBuilder mb)(Code)

See Also:   RelationalOperator.generateOrderedNulls
See Also:   



generateQualMethod
public void generateQualMethod(ExpressionClassBuilder acb, MethodBuilder mb, Optimizable optTable) throws StandardException(Code)

exception:
  StandardException - Thrown on error



generateRelativeColumnId
public void generateRelativeColumnId(MethodBuilder mb, Optimizable optTable)(Code)

See Also:   RelationalOperator.generateRelativeColumnId
See Also:   



getColumnOperand
public ColumnReference getColumnOperand(Optimizable optTable, int columnPosition)(Code)

See Also:   RelationalOperator.getColumnOperand
See Also:   



getColumnOperand
public ColumnReference getColumnOperand(Optimizable optTable)(Code)

See Also:   RelationalOperator.getColumnOperand
See Also:   



getCompareValue
public DataValueDescriptor getCompareValue(Optimizable optTable) throws StandardException(Code)

See Also:   RelationalOperator.getCompareValue
exception:
  StandardException - Thrown on error



getExpressionOperand
public ValueNode getExpressionOperand(int tableNumber, int columnPosition, FromTable ft)(Code)

See Also:   RelationalOperator.getExpressionOperand



getNegation
BinaryOperatorNode getNegation(ValueNode leftOperand, ValueNode rightOperand) throws StandardException(Code)
Returns the negation of this operator; negation of Equals is NotEquals.



getOperand
public ValueNode getOperand(ColumnReference cRef, int refSetSize, boolean otherSide)(Code)

See Also:   RelationalOperator.getOperand



getOperator
public int getOperator()(Code)

See Also:   RelationalOperator.getOperator
See Also:   



getOrderableVariantType
public int getOrderableVariantType(Optimizable optTable) throws StandardException(Code)

See Also:   RelationalOperator.getOrderableVariantType
See Also:   
exception:
  StandardException - thrown on error



getReceiverInterfaceName
public String getReceiverInterfaceName()(Code)
The methods generated for this node all are on Orderable. Overrides this method in BooleanOperatorNode for code generation purposes.



getScopedOperand
public ValueNode getScopedOperand(int whichSide, JBitSet parentRSNsTables, ResultSetNode childRSN, int[] whichRC) throws StandardException(Code)
Take a ResultSetNode and return a column reference that is scoped for for the received ResultSetNode, where "scoped" means that the column reference points to a specific column in the RSN. This is used for remapping predicates from an outer query down to a subquery. For example, assume we have the following query: select * from (select i,j from t1 union select i,j from t2) X1, (select a,b from t3 union select a,b from t4) X2 where X1.j = X2.b; Then assume that this BinaryRelationalOperatorNode represents the "X1.j = X2.b" predicate and that the childRSN we received as a parameter represents one of the subqueries to which we want to push the predicate; let's say it's: select i,j from t1 Then what we want to do in this method is map one of the operands X1.j or X2.b (depending on the 'whichSide' parameter) to the childRSN, if possible. Note that in our example, "X2.b" should _NOT_ be mapped because it doesn't apply to the childRSN for the subquery "select i,j from t1"; thus we should leave it as it is. "X1.j", however, _does_ need to be scoped, and so this method will return a ColumnReference pointing to "T1.j" (or whatever the corresponding column in T1 is). ASSUMPTION: We should only get to this method if we know that exactly one operand in the predicate to which this operator belongs can and should be mapped to the received childRSN.
Parameters:
  whichSide - The operand are we trying to scope (LEFT or RIGHT)
Parameters:
  parentRSNsTables - Set of all table numbers referenced bythe ResultSetNode that is _parent_ to the received childRSN.We need this to make sure we don't scope the operand to aResultSetNode to which it doesn't apply.
Parameters:
  childRSN - The result set node to which we want to createa scoped predicate.
Parameters:
  whichRC - If not -1 then this tells us which ResultColumnin the received childRSN we need to use for the scoped predicate;if -1 then the column position of the scoped column referencewill be stored in this array and passed back to the caller. A column reference scoped to the received childRSN, if possible.If the operand is a ColumnReference that is not supposed to be scoped,we return a _clone_ of the reference--this is necessary because thereference is going to be pushed to two places (left and right childrenof the parentRSN) and if both children are referencing the sameinstance of the column reference, they'll interfere with each otherduring optimization.



getStartOperator
public int getStartOperator(Optimizable optTable)(Code)

See Also:   RelationalOperator.getStartOperator
See Also:   



getStopOperator
public int getStopOperator(Optimizable optTable)(Code)

See Also:   RelationalOperator.getStopOperator
See Also:   



getTransitiveSearchClause
public RelationalOperator getTransitiveSearchClause(ColumnReference otherCR) throws StandardException(Code)

See Also:   RelationalOperator.getTransitiveSearchClause
See Also:   



init
public void init(Object leftOperand, Object rightOperand)(Code)



isBinaryEqualsOperatorNode
public boolean isBinaryEqualsOperatorNode()(Code)



isQualifier
public boolean isQualifier(Optimizable optTable, boolean forPush) throws StandardException(Code)

See Also:   RelationalOperator.isQualifier
See Also:   
exception:
  StandardException - Thrown on error



isRelationalOperator
public boolean isRelationalOperator()(Code)

See Also:   ValueNode.isRelationalOperator
See Also:   



keyColumnOnLeft
protected boolean keyColumnOnLeft(Optimizable optTable)(Code)
Return true if a key column for the given table is found on the left side of this operator, false if it is found on the right side of this operator. NOTE: This method assumes that a key column will be found on one side or the other. If you don't know whether a key column exists, use the columnOnOneSide() method (below).
Parameters:
  optTable - The Optimizable table that we're looking for a keycolumn on. true if a key column for the given table is on the leftside of this operator, false if one is found on the rightside of this operator.



optimizableEqualityNode
public boolean optimizableEqualityNode(Optimizable optTable, int columnNumber, boolean isNullOkay) throws StandardException(Code)

See Also:   ValueNode.optimizableEqualityNode
See Also:   



orderedNulls
public boolean orderedNulls()(Code)

See Also:   RelationalOperator.orderedNulls
See Also:   



selectivity
public double selectivity(Optimizable optTable) throws StandardException(Code)
return the selectivity of this predicate.



selfComparison
public boolean selfComparison(ColumnReference cr) throws StandardException(Code)

See Also:   RelationalOperator.selfComparison
See Also:   
exception:
  StandardException - Thrown on error



usefulStartKey
public boolean usefulStartKey(Optimizable optTable)(Code)

See Also:   RelationalOperator.usefulStartKey
See Also:   



usefulStartKey
protected boolean usefulStartKey(boolean columnOnLeft)(Code)
is this is useful start key? for example a predicate of the from column Lessthan 5 is not a useful start key but is a useful stop key. However 5 Lessthan column is a useful start key.
Parameters:
  columnOnLeft - is true if the column is the left hand side of thebinary operator.



usefulStopKey
public boolean usefulStopKey(Optimizable optTable)(Code)

See Also:   RelationalOperator.usefulStopKey
See Also:   



usefulStopKey
protected boolean usefulStopKey(boolean columnOnLeft)(Code)

See Also:   RelationalOperator.usefulStopKey
See Also:   



Methods inherited from org.apache.derby.impl.sql.compile.BinaryComparisonOperatorNode
public void bindComparisonOperator() throws StandardException(Code)(Java Doc)
public ValueNode bindExpression(FromList fromList, SubqueryList subqueryList, Vector aggregateVector) throws StandardException(Code)(Java Doc)
public ValueNode changeToCNF(boolean underTopAndNode) throws StandardException(Code)(Java Doc)
ValueNode eliminateNots(boolean underNotNode) throws StandardException(Code)(Java Doc)
public ValueNode genSQLJavaSQLTree() throws StandardException(Code)(Java Doc)
boolean getBetweenSelectivity()(Code)(Java Doc)
public boolean getForQueryRewrite()(Code)(Java Doc)
BinaryOperatorNode getNegation(ValueNode leftOperand, ValueNode rightOperand) throws StandardException(Code)(Java Doc)
public void init(Object leftOperand, Object rightOperand, Object operator, Object methodName)(Code)(Java Doc)
public ValueNode preprocess(int numTables, FromList outerFromList, SubqueryList outerSubqueryList, PredicateList outerPredicateList) throws StandardException(Code)(Java Doc)
void setBetweenSelectivity()(Code)(Java Doc)
public void setForQueryRewrite(boolean val)(Code)(Java Doc)

Fields inherited from org.apache.derby.impl.sql.compile.BinaryOperatorNode
final public static int AND(Code)(Java Doc)
final static String[][] BinaryArgTypes(Code)(Java Doc)
final static String[] BinaryMethodNames(Code)(Java Doc)
final static String[] BinaryOperators(Code)(Java Doc)
final static String[] BinaryResultTypes(Code)(Java Doc)
final public static int CONCATENATE(Code)(Java Doc)
final public static int DIVIDE(Code)(Java Doc)
final public static int EQ(Code)(Java Doc)
final public static int GE(Code)(Java Doc)
final public static int GT(Code)(Java Doc)
final public static int LE(Code)(Java Doc)
final public static int LIKE(Code)(Java Doc)
final public static int LT(Code)(Java Doc)
final public static int MINUS(Code)(Java Doc)
final public static int NE(Code)(Java Doc)
final public static int OR(Code)(Java Doc)
final public static int PLUS(Code)(Java Doc)
final public static int TIMES(Code)(Java Doc)
final public static int XMLEXISTS_OP(Code)(Java Doc)
final public static int XMLQUERY_OP(Code)(Java Doc)
String leftInterfaceType(Code)(Java Doc)
ValueNode leftOperand(Code)(Java Doc)
String methodName(Code)(Java Doc)
String operator(Code)(Java Doc)
int operatorType(Code)(Java Doc)
ValueNode receiver(Code)(Java Doc)
String resultInterfaceType(Code)(Java Doc)
String rightInterfaceType(Code)(Java Doc)
ValueNode rightOperand(Code)(Java Doc)

Methods inherited from org.apache.derby.impl.sql.compile.BinaryOperatorNode
public Visitable accept(Visitor v) throws StandardException(Code)(Java Doc)
public ValueNode bindExpression(FromList fromList, SubqueryList subqueryList, Vector aggregateVector) throws StandardException(Code)(Java Doc)
public ValueNode bindXMLQuery() throws StandardException(Code)(Java Doc)
public boolean categorize(JBitSet referencedTabs, boolean simplePredsOnly) throws StandardException(Code)(Java Doc)
public boolean constantExpression(PredicateList whereClause)(Code)(Java Doc)
public ValueNode genSQLJavaSQLTree() throws StandardException(Code)(Java Doc)
public void generateExpression(ExpressionClassBuilder acb, MethodBuilder mb) throws StandardException(Code)(Java Doc)
public ValueNode getLeftOperand()(Code)(Java Doc)
protected int getOrderableVariantType() throws StandardException(Code)(Java Doc)
public String getReceiverInterfaceName() throws StandardException(Code)(Java Doc)
public ValueNode getRightOperand()(Code)(Java Doc)
public void init(Object leftOperand, Object rightOperand, Object operator, Object methodName, Object leftInterfaceType, Object rightInterfaceType)(Code)(Java Doc)
public void init(Object leftOperand, Object rightOperand, Object leftInterfaceType, Object rightInterfaceType)(Code)(Java Doc)
public void init(Object leftOperand, Object rightOperand, Object opType)(Code)(Java Doc)
protected void initializeResultField(ExpressionClassBuilder acb, MethodBuilder mb, LocalField resultField) throws StandardException(Code)(Java Doc)
public boolean isConstantExpression()(Code)(Java Doc)
protected boolean isEquivalent(ValueNode o) throws StandardException(Code)(Java Doc)
public ValueNode preprocess(int numTables, FromList outerFromList, SubqueryList outerSubqueryList, PredicateList outerPredicateList) throws StandardException(Code)(Java Doc)
public void printSubNodes(int depth)(Code)(Java Doc)
public ValueNode remapColumnReferencesToExpressions() throws StandardException(Code)(Java Doc)
public void setClause(int clause)(Code)(Java Doc)
public void setLeftOperand(ValueNode newLeftOperand)(Code)(Java Doc)
public void setLeftRightInterfaceType(String iType)(Code)(Java Doc)
void setMethodName(String methodName)(Code)(Java Doc)
void setOperator(String operator)(Code)(Java Doc)
public void setRightOperand(ValueNode newRightOperand)(Code)(Java Doc)
void swapOperands()(Code)(Java Doc)
public String toString()(Code)(Java Doc)

Fields inherited from org.apache.derby.impl.sql.compile.ValueNode
final public static int IN_HAVING_CLAUSE(Code)(Java Doc)
final public static int IN_SELECT_LIST(Code)(Java Doc)
final public static int IN_UNKNOWN_CLAUSE(Code)(Java Doc)
final public static int IN_WHERE_CLAUSE(Code)(Java Doc)
protected int clause(Code)(Java Doc)
protected DataTypeDescriptor dataTypeServices(Code)(Java Doc)
boolean transformed(Code)(Java Doc)

Methods inherited from org.apache.derby.impl.sql.compile.ValueNode
public ValueNode bindExpression(FromList fromList, SubqueryList subqueryList, Vector aggregateVector) throws StandardException(Code)(Java Doc)
public ValueNode bindExpression(FromList fromList, SubqueryList subqueryList, Vector aggregateVector, boolean forQueryRewrite) throws StandardException(Code)(Java Doc)
public boolean categorize(JBitSet referencedTabs, boolean simplePredsOnly) throws StandardException(Code)(Java Doc)
public ValueNode changeToCNF(boolean underTopAndNode) throws StandardException(Code)(Java Doc)
public ValueNode checkIsBoolean() throws StandardException(Code)(Java Doc)
public void checkReliability(String fragmentType, int fragmentBitMask) throws StandardException(Code)(Java Doc)
public void checkReliability(int fragmentBitMask, String fragmentType) throws StandardException(Code)(Java Doc)
void checkTopPredicatesForEqualsConditions(int tableNumber, boolean[] eqOuterCols, int[] tableNumbers, JBitSet[] tableColMap, boolean resultColTable) throws StandardException(Code)(Java Doc)
public boolean constantExpression(PredicateList whereClause)(Code)(Java Doc)
public void copyFields(ValueNode oldVN) throws StandardException(Code)(Java Doc)
ValueNode eliminateNots(boolean underNotNode) throws StandardException(Code)(Java Doc)
public ValueNode genEqualsFalseTree() throws StandardException(Code)(Java Doc)
public ValueNode genIsNullTree() throws StandardException(Code)(Java Doc)
public ValueNode genSQLJavaSQLTree() throws StandardException(Code)(Java Doc)
final protected void generate(ActivationClassBuilder acb, MethodBuilder mb) throws StandardException(Code)(Java Doc)
public void generateExpression(ExpressionClassBuilder acb, MethodBuilder mb) throws StandardException(Code)(Java Doc)
public void generateFilter(ExpressionClassBuilder ecb, MethodBuilder mb) throws StandardException(Code)(Java Doc)
public int getClause()(Code)(Java Doc)
public ValueNode getClone() throws StandardException(Code)(Java Doc)
public String getColumnName()(Code)(Java Doc)
Object getConstantValueAsObject() throws StandardException(Code)(Java Doc)
final protected DataValueFactory getDataValueFactory()(Code)(Java Doc)
protected int getOrderableVariantType() throws StandardException(Code)(Java Doc)
public String getSchemaName() throws StandardException(Code)(Java Doc)
public ResultColumn getSourceResultColumn()(Code)(Java Doc)
public String getTableName()(Code)(Java Doc)
JBitSet getTablesReferenced() throws StandardException(Code)(Java Doc)
boolean getTransformed()(Code)(Java Doc)
public TypeCompiler getTypeCompiler() throws StandardException(Code)(Java Doc)
public TypeId getTypeId() throws StandardException(Code)(Java Doc)
public DataTypeDescriptor getTypeServices() throws StandardException(Code)(Java Doc)
public void init(Object typeId, Object precision, Object scale, Object isNullable, Object maximumWidth) throws StandardException(Code)(Java Doc)
public boolean isBinaryEqualsOperatorNode()(Code)(Java Doc)
boolean isBooleanFalse()(Code)(Java Doc)
boolean isBooleanTrue()(Code)(Java Doc)
public boolean isCloneable()(Code)(Java Doc)
public boolean isConstantExpression()(Code)(Java Doc)
abstract protected boolean isEquivalent(ValueNode other) throws StandardException(Code)(Java Doc)
public boolean isParameterNode()(Code)(Java Doc)
public boolean isRelationalOperator()(Code)(Java Doc)
final protected boolean isSameNodeType(ValueNode other)(Code)(Java Doc)
public boolean optimizableEqualityNode(Optimizable optTable, int columnNumber, boolean isNullOkay) throws StandardException(Code)(Java Doc)
public ValueNode preprocess(int numTables, FromList outerFromList, SubqueryList outerSubqueryList, PredicateList outerPredicateList) throws StandardException(Code)(Java Doc)
public ValueNode putAndsOnTop() throws StandardException(Code)(Java Doc)
public ValueNode remapColumnReferencesToExpressions() throws StandardException(Code)(Java Doc)
public boolean requiresTypeFromContext()(Code)(Java Doc)
public double selectivity(Optimizable optTable) throws StandardException(Code)(Java Doc)
public void setClause(int clause)(Code)(Java Doc)
void setTransformed()(Code)(Java Doc)
public void setType(DataTypeDescriptor dataTypeServices) throws StandardException(Code)(Java Doc)
public String toString()(Code)(Java Doc)
public boolean updatableByCursor()(Code)(Java Doc)
public boolean verifyChangeToCNF()(Code)(Java Doc)
boolean verifyEliminateNots()(Code)(Java Doc)
public boolean verifyPutAndsOnTop()(Code)(Java Doc)

Fields inherited from org.apache.derby.impl.sql.compile.QueryTreeNode
final public static int AUTOINCREMENT_CREATE_MODIFY(Code)(Java Doc)
final public static int AUTOINCREMENT_INC_INDEX(Code)(Java Doc)
final public static int AUTOINCREMENT_IS_AUTOINCREMENT_INDEX(Code)(Java Doc)
final public static int AUTOINCREMENT_START_INDEX(Code)(Java Doc)
boolean isPrivilegeCollectionRequired(Code)(Java Doc)

Methods inherited from org.apache.derby.impl.sql.compile.QueryTreeNode
public Visitable accept(Visitor v) throws StandardException(Code)(Java Doc)
public QueryTreeNode bind() throws StandardException(Code)(Java Doc)
public DataValueDescriptor convertDefaultNode(DataTypeDescriptor typeDescriptor) throws StandardException(Code)(Java Doc)
protected static void debugFlush()(Code)(Java Doc)
public static void debugPrint(String outputString)(Code)(Java Doc)
public void disablePrivilegeCollection()(Code)(Java Doc)
public String executeSchemaName()(Code)(Java Doc)
public String executeStatementName()(Code)(Java Doc)
public static String formatNodeString(String nodeString, int depth)(Code)(Java Doc)
public boolean foundString(String[] list, String search)(Code)(Java Doc)
public GeneratedClass generate(ByteArray ignored) throws StandardException(Code)(Java Doc)
protected void generate(ActivationClassBuilder acb, MethodBuilder mb) throws StandardException(Code)(Java Doc)
void generateAuthorizeCheck(ActivationClassBuilder acb, MethodBuilder mb, int sqlOperation)(Code)(Java Doc)
public int getBeginOffset()(Code)(Java Doc)
final protected ClassFactory getClassFactory()(Code)(Java Doc)
final protected CompilerContext getCompilerContext()(Code)(Java Doc)
final public ContextManager getContextManager()(Code)(Java Doc)
public Object getCursorInfo() throws StandardException(Code)(Java Doc)
final public DataDictionary getDataDictionary()(Code)(Java Doc)
final public DependencyManager getDependencyManager()(Code)(Java Doc)
public int getEndOffset()(Code)(Java Doc)
final public ExecutionFactory getExecutionFactory()(Code)(Java Doc)
final public GenericConstantActionFactory getGenericConstantActionFactory()(Code)(Java Doc)
protected int getIntProperty(String value, String key) throws StandardException(Code)(Java Doc)
final protected LanguageConnectionContext getLanguageConnectionContext()(Code)(Java Doc)
final public NodeFactory getNodeFactory()(Code)(Java Doc)
protected int getNodeType()(Code)(Java Doc)
public ConstantNode getNullNode(TypeId typeId, ContextManager cm) throws StandardException(Code)(Java Doc)
public DataTypeDescriptor[] getParameterTypes() throws StandardException(Code)(Java Doc)
public long getRowEstimate()(Code)(Java Doc)
public String getSPSName()(Code)(Java Doc)
final SchemaDescriptor getSchemaDescriptor(String schemaName) throws StandardException(Code)(Java Doc)
final SchemaDescriptor getSchemaDescriptor(String schemaName, boolean raiseError) throws StandardException(Code)(Java Doc)
protected int getStatementType()(Code)(Java Doc)
final protected TableDescriptor getTableDescriptor(String tableName, SchemaDescriptor schema) throws StandardException(Code)(Java Doc)
final protected TypeCompiler getTypeCompiler(TypeId typeId)(Code)(Java Doc)
public void init(Object arg1) throws StandardException(Code)(Java Doc)
public void init(Object arg1, Object arg2) throws StandardException(Code)(Java Doc)
public void init(Object arg1, Object arg2, Object arg3) throws StandardException(Code)(Java Doc)
public void init(Object arg1, Object arg2, Object arg3, Object arg4) throws StandardException(Code)(Java Doc)
public void init(Object arg1, Object arg2, Object arg3, Object arg4, Object arg5) throws StandardException(Code)(Java Doc)
public void init(Object arg1, Object arg2, Object arg3, Object arg4, Object arg5, Object arg6) throws StandardException(Code)(Java Doc)
public void init(Object arg1, Object arg2, Object arg3, Object arg4, Object arg5, Object arg6, Object arg7) throws StandardException(Code)(Java Doc)
public void init(Object arg1, Object arg2, Object arg3, Object arg4, Object arg5, Object arg6, Object arg7, Object arg8) throws StandardException(Code)(Java Doc)
public void init(Object arg1, Object arg2, Object arg3, Object arg4, Object arg5, Object arg6, Object arg7, Object arg8, Object arg9) throws StandardException(Code)(Java Doc)
public void init(Object arg1, Object arg2, Object arg3, Object arg4, Object arg5, Object arg6, Object arg7, Object arg8, Object arg9, Object arg10) throws StandardException(Code)(Java Doc)
public void init(Object arg1, Object arg2, Object arg3, Object arg4, Object arg5, Object arg6, Object arg7, Object arg8, Object arg9, Object arg10, Object arg11) throws StandardException(Code)(Java Doc)
public void init(Object arg1, Object arg2, Object arg3, Object arg4, Object arg5, Object arg6, Object arg7, Object arg8, Object arg9, Object arg10, Object arg11, Object arg12) throws StandardException(Code)(Java Doc)
public void init(Object arg1, Object arg2, Object arg3, Object arg4, Object arg5, Object arg6, Object arg7, Object arg8, Object arg9, Object arg10, Object arg11, Object arg12, Object arg13) throws StandardException(Code)(Java Doc)
public void init(Object arg1, Object arg2, Object arg3, Object arg4, Object arg5, Object arg6, Object arg7, Object arg8, Object arg9, Object arg10, Object arg11, Object arg12, Object arg13, Object arg14) throws StandardException(Code)(Java Doc)
public boolean isAtomic() throws StandardException(Code)(Java Doc)
protected boolean isInstanceOf(int nodeType)(Code)(Java Doc)
public boolean isPrivilegeCollectionRequired()(Code)(Java Doc)
final boolean isSessionSchema(SchemaDescriptor sd)(Code)(Java Doc)
final boolean isSessionSchema(String schemaName)(Code)(Java Doc)
public ConstantAction makeConstantAction() throws StandardException(Code)(Java Doc)
public ResultDescription makeResultDescription() throws StandardException(Code)(Java Doc)
public TableName makeTableName(String schemaName, String flatName) throws StandardException(Code)(Java Doc)
public boolean needsSavepoint()(Code)(Java Doc)
protected String nodeHeader()(Code)(Java Doc)
public QueryTreeNode optimize() throws StandardException(Code)(Java Doc)
public static QueryTreeNode parseQueryText(CompilerContext compilerContext, String queryText, Object[] paramDefaults, LanguageConnectionContext lcc) throws StandardException(Code)(Java Doc)
public void printLabel(int depth, String label)(Code)(Java Doc)
public void printSubNodes(int depth)(Code)(Java Doc)
public boolean referencesSessionSchema() throws StandardException(Code)(Java Doc)
public TableName resolveTableToSynonym(TableName tabName) throws StandardException(Code)(Java Doc)
public void setBeginOffset(int beginOffset)(Code)(Java Doc)
public void setContextManager(ContextManager cm)(Code)(Java Doc)
public void setEndOffset(int endOffset)(Code)(Java Doc)
public void setNodeType(int nodeType)(Code)(Java Doc)
public void setRefActionInfo(long fkIndexConglomId, int[] fkColArray, String parentResultSetId, boolean dependentScan)(Code)(Java Doc)
public String toString()(Code)(Java Doc)
public void treePrint()(Code)(Java Doc)
public void treePrint(int depth)(Code)(Java Doc)
String verifyClassExist(String javaClassName, boolean convertCase) throws StandardException(Code)(Java Doc)

Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.