public class JcrSql2QueryParser extends BasicSqlQueryParser
BasicSqlQueryParser
that uses a different language name that matches the JCR 2.0
specification.BasicSqlQueryParser.SqlTokenizer
Constructor and Description |
---|
JcrSql2QueryParser() |
Modifier and Type | Method and Description |
---|---|
String |
getLanguage()
Get the name of the language that this parser is able to understand.
|
protected LiteralValue |
literal(TypeSystem typeSystem,
Object value) |
and, arithmeticOperand, between, bindVariableName, cast, childCount, childNode, childNodeJoinCondition, column, comparison, descendantNode, descendantNodeJoinCondition, equals, equiJoinCondition, fullTextSearch, fullTextSearch, fullTextSearchScore, hashCode, join, length, limit, lowerCase, nodeDepth, nodeId, nodeLocalName, nodeName, nodePath, not, or, ordering, parseBindVariableName, parseComparisonOperator, parseConstraint, parseDynamicOperand, parseFrom, parseFullTextSearchExpression, parseInClause, parseJoinCondition, parseLimit, parseLiteral, parseLiteralValue, parseName, parseName, parseNamedSelector, parseOrderBy, parseOrdering, parsePath, parsePropertyExistance, parsePropertyValue, parseQuery, parseQuery, parseQueryCommand, parseReferenceValue, parseSelect, parseSelectorName, parseSetQuery, parseStaticOperand, parseWhere, propertyExistence, propertyValue, query, referenceValue, referenceValue, removeBracketsAndQuotes, removeBracketsAndQuotes, sameNode, sameNodeJoinCondition, sameNodeJoinCondition, setCriteria, setQuery, subquery, toString, upperCase
public static final String LANGUAGE
public String getLanguage()
QueryParser
getLanguage
in interface QueryParser
getLanguage
in class BasicSqlQueryParser
QueryParser.getLanguage()
protected LiteralValue literal(TypeSystem typeSystem, Object value) throws ValueFormatException
literal
in class BasicSqlQueryParser
ValueFormatException
BasicSqlQueryParser.literal(TypeSystem, Object)
Copyright © 2008–2016 JBoss, a division of Red Hat. All rights reserved.