public class XPathToSQL2Converter
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static boolean |
NODETYPE_OPTIMIZATION
Optimize queries of the form "from [nt:base] where [jcr:primaryType] = 'x'"
to "from [x] where [jcr:primaryType] = 'x'".
|
static boolean |
NODETYPE_UNION
Convert queries of the form "where [jcr:primaryType] = 'x' or [jcr:primaryType] = 'y'"
to "select ...
|
Constructor and Description |
---|
XPathToSQL2Converter() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
convert(java.lang.String query)
Convert the query to SQL2.
|
public static final boolean NODETYPE_OPTIMIZATION
public static final boolean NODETYPE_UNION
Copyright © 2012–2022 The Apache Software Foundation. All rights reserved.