Java Doc for Predicate.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.Predicate

Predicate
final public class Predicate extends QueryTreeNode implements OptimizablePredicate,Comparable(Code)
A Predicate represents a top level predicate.
author:
   Jerry Brenner


Field Summary
 AndNodeandNode
    
 intequivalenceClass
    
 intindexPosition
    
protected  booleanisQualifier
    
 booleanpushable
    
 JBitSetreferencedSet
    
protected  booleanstartKey
    
protected  booleanstopKey
    


Method Summary
public  Visitableaccept(Visitor v)
     Accept a visitor, and call v.visit() on child nodes as necessary.
public  StringbinaryRelOpColRefsToString()
     Get a string version of the column references for this predicate IF it's a binary relational operator.
public  voidcategorize()
     Categorize this predicate.
 voidclearQualifierFlag()
     Clear the qualifier flag.
 voidclearScanFlags()
    
public  intcompareTo(Object other)
    
public  booleancompareWithKnownConstant(Optimizable optTable, boolean considerParameters)
    
public  voidcopyFields(Predicate otherPred)
     Copy all fields of this Predicate (except the two that are set from 'init').
public  booleanequalsComparisonWithConstantExpression(Optimizable optTable)
    
 voidgenerateAbsoluteColumnId(MethodBuilder mb, Optimizable optTable)
    
 voidgenerateExpressionOperand(Optimizable optTable, int columnPosition, ExpressionClassBuilder acb, MethodBuilder mb)
    
 voidgenerateNegate(MethodBuilder mb, Optimizable optTable)
    
 voidgenerateOperator(MethodBuilder mb, Optimizable optTable)
    
 voidgenerateOrderableVariantType(MethodBuilder mb, Optimizable optTable)
    
 voidgenerateOrderedNulls(MethodBuilder mb)
    
 voidgenerateQualMethod(ExpressionClassBuilder acb, MethodBuilder mb, Optimizable optTable)
    
 voidgenerateRelativeColumnId(MethodBuilder mb, Optimizable optTable)
    
public  AndNodegetAndNode()
     Return the andNode.
public  DataValueDescriptorgetCompareValue(Optimizable optTable)
    
 intgetEquivalenceClass()
     Get the equivalenceClass for this predicate.
public  intgetIndexPosition()
    
protected  PredicategetPredScopedForResultSet(JBitSet parentRSNsTables, ResultSetNode childRSN, int[] whichRC)
     If this predicate's operator is a BinaryRelationalOperatorNode, then look at the operands and return a new, equivalent predicate that is "scoped" to the received ResultSetNode.
public  booleangetPushable()
     Return the pushable.
public  JBitSetgetReferencedMap()
    
public  JBitSetgetReferencedSet()
     Return the referencedSet.
public  RelationalOperatorgetRelop()
     Get the RelationalOperator on the left side of the AND node, if there is one.
public  HashtablegetSearchClauseHT()
     Get the search clause Hash Table.
 intgetStartOperator(Optimizable optTable)
     Get the start operator for this predicate for a scan.
 intgetStopOperator(Optimizable optTable)
    
public  inthasEqualOnColumnList(int[] baseColumnPositions, Optimizable optTable)
    
public  booleanhasMethodCall()
    
public  booleanhasSubquery()
    
public  voidinit(Object andNode, Object referencedSet)
     Initializer.
protected  booleanisJoinPredicate()
     Is this predicate a join predicate? In order to be so, it must be a binary relational operator node that has a column reference on both sides.
final public  booleanisOrList()
    
final public  booleanisPushableOrClause(Optimizable optTable)
     Is this predicate an pushable OR list?

Does the predicate represent a AND'd list of OR term's, all of which are pushable.

public  booleanisQualifier()
    
protected  booleanisScopedForPush()
     Return whether or not this predicate is a scoped copy of another predicate.
protected  booleanisScopedToSourceResultSet()
     Return true if this predicate is scoped AND the scoped operand is a ColumnReference that points to a source result set.
public  booleanisStartKey()
    
public  booleanisStopKey()
    
final public  booleanisStoreQualifier()
     Is this predicate a possible Qualifier for store?

Current 2 types of predicates can be pushed to store: 1) RelationalOperator - represented with by left operand as instance of RelationalOperator. 2) A single And'd term of a list of OR terms represented by left operand as instance of OrNode. More checking specific operator's terms to see if they are finally pushable to store.

protected  voidmarkAsScopedForPush()
     Indicate that this predicate is a scoped copy of some other predicate (i.e.
public  voidmarkQualifier()
    
public  voidmarkStartKey()
    
public  voidmarkStopKey()
    
public  voidprintSubNodes(int depth)
     Prints the sub-nodes of this object.
protected  booleanpushableToSubqueries()
     Determine whether or not this predicate is eligible for push-down into subqueries.
protected  booleanremapScopedPred()
     When remapping a "normal" (i.e.
public  doubleselectivity(Optimizable optTable)
    
public  voidsetAndNode(AndNode andNode)
     Set the andNode.
 voidsetEquivalenceClass(int equivalenceClass)
     Set the equivalence class, if any, for this predicate.
 voidsetIndexPosition(int indexPosition)
    
public  voidsetPushable(boolean pushable)
     Set whether or not this predicate is pushable.
 voidsetTransitiveSearchClauseAdded(RelationalOperator ro)
     Mark this predicate as having been used to add a new predicate of the specified type via transitive closure on search clauses.
public  StringtoString()
     Convert this object to a String.
 booleantransitiveSearchClauseAdded(RelationalOperator ro)
     Return whether or not this predicate has been used to add a new search clause of the specified type via transitive closure.

Field Detail
andNode
AndNode andNode(Code)



equivalenceClass
int equivalenceClass(Code)



indexPosition
int indexPosition(Code)



isQualifier
protected boolean isQualifier(Code)



pushable
boolean pushable(Code)



referencedSet
JBitSet referencedSet(Code)



startKey
protected boolean startKey(Code)



stopKey
protected boolean stopKey(Code)





Method Detail
accept
public Visitable accept(Visitor v) throws StandardException(Code)
Accept a visitor, and call v.visit() on child nodes as necessary.
Parameters:
  v - the visitor
exception:
  StandardException - on error



binaryRelOpColRefsToString
public String binaryRelOpColRefsToString()(Code)
Get a string version of the column references for this predicate IF it's a binary relational operator. We only print out the names of the operands if they are column references; otherwise we just print a dummy value. This is for debugging purposes only--it's a convenient way to see what columns the predicate is referencing, especially when tracing through code and printing assert failure.



categorize
public void categorize() throws StandardException(Code)
Categorize this predicate. Initially, this means building a bit map of the referenced tables for each predicate.
exception:
  StandardException - Thrown on error



clearQualifierFlag
void clearQualifierFlag()(Code)
Clear the qualifier flag.



clearScanFlags
void clearScanFlags()(Code)
Clear the start/stop position and qualifier flags



compareTo
public int compareTo(Object other)(Code)



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

See Also:   OptimizablePredicate.compareWithKnownConstant
See Also:   



copyFields
public void copyFields(Predicate otherPred)(Code)
Copy all fields of this Predicate (except the two that are set from 'init').



equalsComparisonWithConstantExpression
public boolean equalsComparisonWithConstantExpression(Optimizable optTable)(Code)

See Also:   OptimizablePredicate.equalsComparisonWithConstantExpression
See Also:   



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



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



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



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



generateOrderableVariantType
void generateOrderableVariantType(MethodBuilder mb, Optimizable optTable) throws StandardException(Code)



generateOrderedNulls
void generateOrderedNulls(MethodBuilder mb)(Code)



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



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



getAndNode
public AndNode getAndNode()(Code)
Return the andNode. AndNode The andNode.



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

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



getEquivalenceClass
int getEquivalenceClass()(Code)
Get the equivalenceClass for this predicate. The equivalenceClass for this predicate.



getIndexPosition
public int getIndexPosition()(Code)

See Also:   OptimizablePredicate.getIndexPosition
See Also:   



getPredScopedForResultSet
protected Predicate getPredScopedForResultSet(JBitSet parentRSNsTables, ResultSetNode childRSN, int[] whichRC) throws StandardException(Code)
If this predicate's operator is a BinaryRelationalOperatorNode, then look at the operands and return a new, equivalent predicate that is "scoped" to the received ResultSetNode. By "scoped" we mean that the operands, which shold be column references, have been mapped to the appropriate result columns in the received RSN. This is useful for pushing predicates from outer queries down into inner queries, in which case the column references need to be remapped. For example, let V1 represent select i,j from t1 UNION select i,j from t2 and V2 represent select a,b from t3 UNION select a,b from t4 Then assume we have the following query: select * from V1, V2 where V1.j = V2.b Let's further assume that this Predicate object represents the "V1.j = V2.b" operator 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 this method will return a new predicate whose binary operator represents the expression "T1.j = V2.b" (that is, V1.j will be mapped to the corresponding column in T1). For more on how that mapping is made, see the "getScopedOperand()" method in BinaryRelationalOperatorNode.java. ASSUMPTION: We should only get to this method if we know that at least one operand in this predicate can and should be mapped to the received childRSN. For an example of where that check is made, see the pushOptPredicate() method in SetOperatorNode.java.
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 operands to aResultSetNode to which they don't apply.
Parameters:
  childRSN - The result set node for 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 new predicate whose operands have been scoped to thereceived childRSN.



getPushable
public boolean getPushable()(Code)
Return the pushable. boolean Whether or not the predicate is pushable.



getReferencedMap
public JBitSet getReferencedMap()(Code)

See Also:   org.apache.derby.iapi.sql.compile.OptimizablePredicate.getReferencedMap



getReferencedSet
public JBitSet getReferencedSet()(Code)
Return the referencedSet. JBitSet The referencedSet.



getRelop
public RelationalOperator getRelop()(Code)
Get the RelationalOperator on the left side of the AND node, if there is one. If the left side is not a RelationalOperator, return null. The RelationalOperator on the left side of the AND node,if any.



getSearchClauseHT
public Hashtable getSearchClauseHT()(Code)
Get the search clause Hash Table.



getStartOperator
int getStartOperator(Optimizable optTable)(Code)
Get the start operator for this predicate for a scan.
Parameters:
  optTable - The optimizable table, so we can tell which side ofthe operator the search column is on. The start operator for a start key on this column.



getStopOperator
int getStopOperator(Optimizable optTable)(Code)



hasEqualOnColumnList
public int hasEqualOnColumnList(int[] baseColumnPositions, Optimizable optTable) throws StandardException(Code)



hasMethodCall
public boolean hasMethodCall()(Code)

See Also:   org.apache.derby.iapi.sql.compile.OptimizablePredicate.hasMethodCall



hasSubquery
public boolean hasSubquery()(Code)

See Also:   org.apache.derby.iapi.sql.compile.OptimizablePredicate.hasSubquery



init
public void init(Object andNode, Object referencedSet)(Code)
Initializer.
Parameters:
  andNode - The top of the predicate
Parameters:
  referencedSet - Bit map of referenced tables



isJoinPredicate
protected boolean isJoinPredicate()(Code)
Is this predicate a join predicate? In order to be so, it must be a binary relational operator node that has a column reference on both sides. Whether or not this is a join predicate.



isOrList
final public boolean isOrList()(Code)



isPushableOrClause
final public boolean isPushableOrClause(Optimizable optTable) throws StandardException(Code)
Is this predicate an pushable OR list?

Does the predicate represent a AND'd list of OR term's, all of which are pushable. To be pushable each of OR terms must be a legal qualifier, which is a column reference on one side of a Relational operator and a constant on the other. true if the predicate is a pushable set of OR clauses.
exception:
  StandardException - Standard exception policy.




isQualifier
public boolean isQualifier()(Code)

See Also:   OptimizablePredicate.isQualifier
See Also:   



isScopedForPush
protected boolean isScopedForPush()(Code)
Return whether or not this predicate is a scoped copy of another predicate.



isScopedToSourceResultSet
protected boolean isScopedToSourceResultSet() throws StandardException(Code)
Return true if this predicate is scoped AND the scoped operand is a ColumnReference that points to a source result set. If the scoped operand is not a ColumnReference that points to a source result set then it must be pointing to some kind of expression, such as a literal (ex. 'strlit'), an aggregate value (ex. "count(*)"), or the result of a function (ex. "sin(i)") or operator (ex. "i+1"). This method is used when pushing predicates to determine how far down the query tree a scoped predicate needs to be pushed to allow for successful evaluation of the scoped operand. If the scoped operand is not pointing to a source result set then it should not be pushed any further down tree. The reason is that evaluation of the expression to which the operand is pointing may depend on other values from the current level in the tree (ex. "sin(i)" depends on the value of "i", which could be a column at the predicate's current level). If we pushed the predicate further down, those values could become inaccessible, leading to execution-time errors. If, on the other hand, the scoped operand *is* pointing to a source result set, then we want to push it further down the tree until it reaches that result set, which allows evaluation of this predicate to occur as close to store as possible. This method doesn't actually do the push, it just returns "true" and then the caller can push as appropriate.



isStartKey
public boolean isStartKey()(Code)

See Also:   OptimizablePredicate.isStartKey
See Also:   



isStopKey
public boolean isStopKey()(Code)

See Also:   OptimizablePredicate.isStopKey
See Also:   



isStoreQualifier
final public boolean isStoreQualifier()(Code)
Is this predicate a possible Qualifier for store?

Current 2 types of predicates can be pushed to store: 1) RelationalOperator - represented with by left operand as instance of RelationalOperator. 2) A single And'd term of a list of OR terms represented by left operand as instance of OrNode. More checking specific operator's terms to see if they are finally pushable to store. In the final push at execution each term of the AND or OR must be a Relational operator with a column reference on one side and a constant on the other. true if term is wither a AND of a RelationalOperator, or anOR of one or more Relational Operators.
exception:
  StandardException - Standard exception policy.




markAsScopedForPush
protected void markAsScopedForPush()(Code)
Indicate that this predicate is a scoped copy of some other predicate (i.e. it was created as the result of a call to getPredScopedForResultSet() on some other predicate).



markQualifier
public void markQualifier()(Code)

See Also:   OptimizablePredicate.markQualifier
See Also:   



markStartKey
public void markStartKey()(Code)

See Also:   OptimizablePredicate.markStartKey
See Also:   



markStopKey
public void markStopKey()(Code)

See Also:   OptimizablePredicate.markStopKey
See Also:   



printSubNodes
public void printSubNodes(int depth)(Code)
Prints the sub-nodes of this object. See QueryTreeNode.java for how tree printing is supposed to work.
Parameters:
  depth - The depth of this node in the tree



pushableToSubqueries
protected boolean pushableToSubqueries() throws StandardException(Code)
Determine whether or not this predicate is eligible for push-down into subqueries. Right now the only predicates we consider to be eligible are those which 1) are Binary Relational operator nodes and 2) have a column reference on BOTH sides, each of which has a reference to a base table somewhere beneath it. Whether or not this predicate is eligible to bepushed into subqueries.



remapScopedPred
protected boolean remapScopedPred()(Code)
When remapping a "normal" (i.e. non-scoped) predicate both of the predicate's operands are remapped and that's it. But when remapping a scoped predicate, things are slightly different. This method handles remapping of scoped predicates. We know that, for a scoped predicate, exactly one operand has been scoped for a specific target result set; the other operand is pointing to some other instance of FromTable with which the target result set is to be joined (see getScopedOperand() in BinaryRelationalOperatorNode.java). For every level of the query through which the scoped predicate is pushed, we have to perform a remap operation of the scoped operand. We do not*, however, remap the non-scoped operand. The reason is that the non-scoped operand is already pointing to the result set against which it must be evaluated. As the scoped predicate is pushed down the query tree, the non-scoped operand should not change where it's pointing and thus should not be remapped. For example, assume we have a query whose tree has the following form: SELECT[0] / \ PRN PRN | | SELECT[4] UNION | / \ PRN SELECT[1] SELECT[2] | | | PRN PRN | | SELECT[3] | PRN | Assume also that we have some predicate "SELECT[4].i = .j". If the optimizer decides to push the predicate to the UNION node, it (the predicate) will be scoped to the UNION's children, yielding something like "SELECT[4].i = SELECT[1].j" for the left child and "SELECT[4].i = SELECT[2].j" for the right child. These scoped predicates will then be pushed to the PRNs above SELECT[3] and T2, respectively. As part of that pushing process a call to PRN.pushOptPredicate() will occur, which brings us to this method. So let's assume we're here for the scoped predicate "SELECT[4].i = SELECT[1].j". Then we want to remap the scoped operand, "SELECT[1].j", so that it will point to the correct column in "SELECT[3]". We do NOT, however, want to remap the non-scoped operand "SELECT[4].i" because that operand is already pointing to the correct result set--namely, to a column in SELECT[4]. That non-scoped operand should not change regardless of how far down the UNION subtree the scoped predicate is pushed. If we did try to remap the non-scoped operand, it would end up pointing to result sets too low in the tree, which could lead to execution-time errors. So when we remap a scoped predicate, we have to make sure we only remap the scoped operand. That's what this method does. True if this predicate is a scoped predicate, in whichcase we performed a one-sided remap. False if the predicate isnot scoped; the caller can then make the calls to perform a"normal" remap on this predicate.



selectivity
public double selectivity(Optimizable optTable) throws StandardException(Code)

See Also:   OptimizablePredicate.selectivity
See Also:   



setAndNode
public void setAndNode(AndNode andNode)(Code)
Set the andNode.
Parameters:
  andNode - The new andNode.



setEquivalenceClass
void setEquivalenceClass(int equivalenceClass)(Code)
Set the equivalence class, if any, for this predicate.
Parameters:
  equivalenceClass - The equivalence class for this predicate.



setIndexPosition
void setIndexPosition(int indexPosition)(Code)
Set the position of the index column that this predicate restricts
Parameters:
  indexPosition - The position of the index column that thispredicate restricts.



setPushable
public void setPushable(boolean pushable)(Code)
Set whether or not this predicate is pushable. This method is intended for use when creating a copy of the predicate, ex for predicate pushdown. We choose not to add this assignment to copyFields() because the comments for that method say that it should copy all fields _except_ the two specified at init time; "pushable" is one of the two specified at init time.
Parameters:
  pushable - Whether or not the predicate is pushable.



setTransitiveSearchClauseAdded
void setTransitiveSearchClauseAdded(RelationalOperator ro)(Code)
Mark this predicate as having been used to add a new predicate of the specified type via transitive closure on search clauses.
Parameters:
  ro - The search clause that we are currently consideringas the source for transitive closure



toString
public String toString()(Code)
Convert this object to a String. See comments in QueryTreeNode.java for how this should be done for tree printing. This object as a String



transitiveSearchClauseAdded
boolean transitiveSearchClauseAdded(RelationalOperator ro)(Code)
Return whether or not this predicate has been used to add a new search clause of the specified type via transitive closure. NOTE: This can only be true if this is an equijoin between 2 column references.
Parameters:
  ro - The search clause that we are currently consideringas the source for transitive closure Whether or not this predicate has been usedto add a new search clause of the specified type via transitive closure.



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.