|
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface QueryAnalysis
This interface describes the result of a query analysis.
Method Summary | |
---|---|
DataDefinition |
getLabelType(String labelName)
Gets the type of a label used within the query FIXME: remove, inline everywhere as getLabelTypes().get(labelName) for that to work, OQL and MQL need to put their aliases also in the Map returned by getLabelTypes() HQL does not support aliases in the first place |
Map<String,DataDefinition> |
getLabelTypes()
Gets the type of the fields between FROM and WHERE |
DataDefinition |
getParameterTypes()
Gets the types of the query parameters, as resulted from the query analysis. |
antlr.collections.AST |
getPass1Tree()
return the pass1 (syntax) AST tree |
DataDefinition |
getProjectionType()
Gets the type of the fields between SELECT and FROM |
String |
getQuery()
Gets the original query that is analyzed by this object |
Collection<String> |
getWarnings()
Get the warnings resulted from query analysis |
Method Detail |
---|
String getQuery()
DataDefinition getProjectionType()
Map<String,DataDefinition> getLabelTypes()
DataDefinition getLabelType(String labelName)
labelName
- the name of the label
DataDefinition getParameterTypes()
Collection<String> getWarnings()
antlr.collections.AST getPass1Tree()
|
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |