public interface Filter
A property restriction could be that the property must exist, or that the property value has to be within a certain range.
A path restriction could be a restriction to a certain subtree, a parent of a certain path, or equality to a certain path.
Modifier and Type | Interface and Description |
---|---|
static class |
Filter.PathRestriction
The path restriction type.
|
static class |
Filter.PropertyRestriction
A restriction for a property.
|
Modifier and Type | Method and Description |
---|---|
boolean |
containsNativeConstraint()
Whether the filter contains a native condition.
|
Collection<String> |
getFulltextConditions()
Deprecated.
|
FullTextExpression |
getFullTextConstraint()
Get the fulltext search condition expression, if any.
|
Set<String> |
getMixinTypes()
Returns the names of all matching mixin node types.
|
String |
getPath()
Get the path, or "/" if there is no path restriction set.
|
String |
getPathPlan()
Get the plan for the path.
|
Filter.PathRestriction |
getPathRestriction()
Get the path restriction type.
|
Set<String> |
getPrimaryTypes()
Returns the names of all matching primary node types.
|
Filter.PropertyRestriction |
getPropertyRestriction(String propertyName)
Get the property restriction for the given property, if any.
|
Collection<Filter.PropertyRestriction> |
getPropertyRestrictions()
Get the list of property restrictions, if any.
|
QueryEngineSettings |
getQueryEngineSettings() |
String |
getQueryStatement()
Get the complete query statement.
|
Set<String> |
getSupertypes()
Returns the names of the filter node type and all its supertypes.
|
boolean |
isAlwaysFalse()
If the filter condition can not possibly match any row, due to a
contradiction in the query (for example "x=1 and x=2").
|
boolean |
matchesAllTypes()
Checks whether nodes of all types can match this filter.
|
Collection<Filter.PropertyRestriction> getPropertyRestrictions()
@Deprecated Collection<String> getFulltextConditions()
FullTextExpression getFullTextConstraint()
QueryEngineSettings getQueryEngineSettings()
boolean containsNativeConstraint()
Filter.PropertyRestriction getPropertyRestriction(String propertyName)
propertyName
- the property nameFilter.PathRestriction getPathRestriction()
String getPath()
String getPathPlan()
boolean matchesAllTypes()
true
iff there are no type restrictionsSet<String> getSupertypes()
Set<String> getPrimaryTypes()
Set<String> getMixinTypes()
String getQueryStatement()
boolean isAlwaysFalse()
"Copyright © 2006 - 2015 Adobe Systems Incorporated. All Rights Reserved"