public class OSQLTarget extends OBaseParser
Modifier and Type | Field and Description |
---|---|
protected OCommandContext |
context |
protected boolean |
empty |
protected Map<String,String> |
targetClasses |
protected Map<String,String> |
targetClusters |
protected String |
targetIndex |
protected String |
targetIndexValues |
protected boolean |
targetIndexValuesAsc |
protected String |
targetQuery |
protected Iterable<? extends OIdentifiable> |
targetRecords |
protected String |
targetVariable |
parserText, parserTextUpperCase
Constructor and Description |
---|
OSQLTarget(String iText,
OCommandContext iContext) |
Modifier and Type | Method and Description |
---|---|
Map<String,String> |
getTargetClasses() |
Map<String,String> |
getTargetClusters() |
String |
getTargetIndex() |
String |
getTargetIndexValues() |
String |
getTargetQuery() |
Iterable<? extends OIdentifiable> |
getTargetRecords() |
String |
getTargetVariable() |
boolean |
isEmpty() |
boolean |
isTargetIndexValuesAsc() |
protected void |
throwSyntaxErrorException(String iText)
Throws a syntax error exception.
|
String |
toString() |
protected String |
upperCase(String text) |
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
protected final boolean empty
protected final OCommandContext context
protected String targetVariable
protected String targetQuery
protected Iterable<? extends OIdentifiable> targetRecords
protected String targetIndex
protected String targetIndexValues
protected boolean targetIndexValuesAsc
public OSQLTarget(String iText, OCommandContext iContext)
public Iterable<? extends OIdentifiable> getTargetRecords()
public String getTargetQuery()
public String getTargetIndex()
public String getTargetIndexValues()
public boolean isTargetIndexValuesAsc()
public String getTargetVariable()
public boolean isEmpty()
protected void throwSyntaxErrorException(String iText)
OBaseParser
throwSyntaxErrorException
in class OBaseParser
iText
- Text about the problem.Copyright © 2009–2020 OrientDB. All rights reserved.