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, 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, upperCasepublic static final String LANGUAGE
public String getLanguage()
QueryParsergetLanguage in interface QueryParsergetLanguage in class BasicSqlQueryParserQueryParser.getLanguage()protected LiteralValue literal(TypeSystem typeSystem, Object value) throws ValueFormatException
literal in class BasicSqlQueryParserValueFormatExceptionBasicSqlQueryParser.literal(TypeSystem, Object)Copyright © 2008-2014 JBoss, a division of Red Hat. All Rights Reserved.