Class OSQLTarget
java.lang.Object
com.orientechnologies.common.parser.OBaseParser
com.orientechnologies.orient.core.sql.filter.OSQLTarget
Target parser.
- Author:
- Luca Garulli (l.garulli--(at)--orientdb.com)
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final OCommandContextprotected final booleanprotected Stringprotected Stringprotected booleanprotected Stringprotected Iterable<? extends OIdentifiable> protected StringFields inherited from class com.orientechnologies.common.parser.OBaseParser
parserText, parserTextUpperCase -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionIterable<? extends OIdentifiable> booleanisEmpty()booleanprotected voidthrowSyntaxErrorException(String iText) Throws a syntax error exception.toString()Methods inherited from class com.orientechnologies.common.parser.OBaseParser
getLastWordLength, getSyntax, getWordStatic, nextWord, nextWord, parseOptionalWord, parserGetCurrentChar, parserGetCurrentPosition, parserGetLastSeparator, parserGetLastWord, parserGetPreviousPosition, parserGoBack, parserIsEnded, parserMoveCurrentPosition, parserNextChars, parserNextWord, parserNextWord, parserNextWord, parserOptionalKeyword, parserOptionalWord, parserRequiredKeyword, parserRequiredWord, parserRequiredWord, parserRequiredWord, parserSetCurrentPosition, parserSetEndOfText, parserSetLastSeparator, parserSkipWhiteSpaces
-
Field Details
-
empty
protected final boolean empty -
context
-
targetVariable
-
targetQuery
-
targetRecords
-
targetClusters
-
targetClasses
-
targetIndex
-
targetIndexValues
-
targetIndexValuesAsc
protected boolean targetIndexValuesAsc
-
-
Constructor Details
-
OSQLTarget
-
-
Method Details
-
getTargetClusters
-
getTargetClasses
-
getTargetRecords
-
getTargetQuery
-
getTargetIndex
-
getTargetIndexValues
-
isTargetIndexValuesAsc
public boolean isTargetIndexValuesAsc() -
toString
-
getTargetVariable
-
isEmpty
public boolean isEmpty() -
throwSyntaxErrorException
Description copied from class:OBaseParserThrows a syntax error exception.- Specified by:
throwSyntaxErrorExceptionin classOBaseParser- Parameters:
iText- Text about the problem.
-