| Constructor and Description |
|---|
EmptyResultsGraphQuery() |
| Modifier and Type | Method and Description |
|---|---|
Query |
addAggregation(Aggregation aggregation)
Add an aggregation to the query
|
QueryResultsIterable<String> |
edgeIds()
Execute the query and return the ids of all matching edges.
|
QueryResultsIterable<String> |
edgeIds(EnumSet<IdFetchHint> idFetchHints)
Execute the query and return the ids of all matching edges.
|
QueryResultsIterable<Edge> |
edges() |
QueryResultsIterable<Edge> |
edges(FetchHints fetchHints) |
QueryResultsIterable<Edge> |
edges(String label)
Deprecated.
|
QueryResultsIterable<Edge> |
edges(String label,
FetchHints fetchHints)
Deprecated.
|
QueryResultsIterable<String> |
elementIds()
Execute the query and return the ids of all matching elements.
|
QueryResultsIterable<String> |
elementIds(EnumSet<IdFetchHint> idFetchHints)
Execute the query and return the ids of all matching elements.
|
QueryResultsIterable<Element> |
elements() |
QueryResultsIterable<Element> |
elements(FetchHints fetchHints) |
QueryResultsIterable<ExtendedDataRowId> |
extendedDataRowIds()
Execute the query and return the ids of all matching extended data rows.
|
QueryResultsIterable<ExtendedDataRowId> |
extendedDataRowIds(EnumSet<IdFetchHint> idFetchHints)
Execute the query and return the ids of all matching extended data rows.
|
QueryResultsIterable<ExtendedDataRow> |
extendedDataRows() |
QueryResultsIterable<ExtendedDataRow> |
extendedDataRows(FetchHints fetchHints) |
Iterable<Aggregation> |
getAggregations()
Gets the added aggregations
|
Query |
has(Class dataType)
Adds a has filter to the query.
|
<T> Query |
has(Class dataType,
Predicate predicate,
T value)
Adds a filter to the query.
|
<T> Query |
has(Iterable<String> propertyNames)
Adds a filter to the query.
|
<T> Query |
has(Iterable<String> propertyNames,
Predicate predicate,
T value)
Adds a filter to the query.
|
Query |
has(String propertyName)
Adds a has filter to the query.
|
<T> Query |
has(String propertyName,
Predicate predicate,
T value)
Adds a filter to the query.
|
<T> Query |
has(String propertyName,
T value)
Adds an
Compare.EQUAL filter to the query. |
Query |
hasAuthorization(Iterable<String> authorizations)
Adds an authorization filter to the query.
|
Query |
hasAuthorization(String... authorizations)
Adds an authorization filter to the query.
|
Query |
hasEdgeLabel(Collection<String> edgeLabels)
Adds a edge label filter to the query.
|
Query |
hasEdgeLabel(String... edgeLabels)
Adds a edge label filter to the query.
|
Query |
hasExtendedData(ElementType elementType,
String elementId)
Adds a extended data element filter to the query.
|
Query |
hasExtendedData(ElementType elementType,
String elementId,
String tableName)
Adds a extended data element filter to the query.
|
Query |
hasExtendedData(Iterable<HasExtendedDataFilter> filters)
Adds a multiple extended data element filter to the query.
|
Query |
hasExtendedData(String tableName)
Adds a extended data table filter to the query.
|
Query |
hasId(Iterable<String> ids)
Adds an id filter to the query.
|
Query |
hasId(String... ids)
Adds an id filter to the query.
|
Query |
hasNot(Class dataType)
Adds a hasNot filter to the query.
|
<T> Query |
hasNot(Iterable<String> propertyNames)
Adds a filter to the query.
|
Query |
hasNot(String propertyName)
Adds a hasNot filter to the query.
|
<T> Query |
hasNot(String propertyName,
T value)
Adds an
Contains.NOT_IN filter to the query. |
boolean |
isAggregationSupported(Aggregation aggregation)
Test to see if aggregation is supported.
|
Query |
limit(Integer count)
Limits the number of items returned.
|
Query |
limit(Long count)
Limits the number of items returned.
|
Query |
minScore(double score)
Minimum score to return
|
<T> Query |
range(String propertyName,
T startValue,
boolean inclusiveStartValue,
T endValue,
boolean inclusiveEndValue)
Queries for properties in the given range.
|
<T> Query |
range(String propertyName,
T startValue,
T endValue)
Queries for properties in the given range.
|
Query |
scoringStrategy(ScoringStrategy scoringStrategy)
Sets the scoring strategy for this query
|
QueryResultsIterable<? extends VertexiumObject> |
search() |
QueryResultsIterable<? extends VertexiumObject> |
search(EnumSet<VertexiumObjectType> objectTypes,
FetchHints fetchHints) |
Query |
skip(int count)
Skips the given number of items.
|
Query |
sort(String propertyName,
SortDirection direction)
Sort the results by the given property name.
|
QueryResultsIterable<String> |
vertexIds()
Execute the query and return the ids of all matching vertices.
|
QueryResultsIterable<String> |
vertexIds(EnumSet<IdFetchHint> idFetchHints)
Execute the query and return the ids of all matching vertices.
|
QueryResultsIterable<Vertex> |
vertices() |
QueryResultsIterable<Vertex> |
vertices(FetchHints fetchHints) |
public QueryResultsIterable<Vertex> vertices()
public QueryResultsIterable<Vertex> vertices(FetchHints fetchHints)
public QueryResultsIterable<String> vertexIds()
Querypublic QueryResultsIterable<String> vertexIds(EnumSet<IdFetchHint> idFetchHints)
Querypublic QueryResultsIterable<Edge> edges()
public QueryResultsIterable<Edge> edges(FetchHints fetchHints)
public QueryResultsIterable<String> edgeIds()
Querypublic QueryResultsIterable<String> edgeIds(EnumSet<IdFetchHint> idFetchHints)
Query@Deprecated public QueryResultsIterable<Edge> edges(String label)
@Deprecated public QueryResultsIterable<Edge> edges(String label, FetchHints fetchHints)
public QueryResultsIterable<Element> elements()
public QueryResultsIterable<Element> elements(FetchHints fetchHints)
public QueryResultsIterable<String> elementIds()
QueryelementIds in interface Querypublic QueryResultsIterable<String> elementIds(EnumSet<IdFetchHint> idFetchHints)
QueryelementIds in interface Querypublic QueryResultsIterable<ExtendedDataRow> extendedDataRows()
extendedDataRows in interface Querypublic QueryResultsIterable<ExtendedDataRow> extendedDataRows(FetchHints fetchHints)
extendedDataRows in interface Querypublic QueryResultsIterable<ExtendedDataRowId> extendedDataRowIds()
QueryextendedDataRowIds in interface Querypublic QueryResultsIterable<ExtendedDataRowId> extendedDataRowIds(EnumSet<IdFetchHint> idFetchHints)
QueryextendedDataRowIds in interface QueryidFetchHints - Details about which data to fetch.public QueryResultsIterable<? extends VertexiumObject> search(EnumSet<VertexiumObjectType> objectTypes, FetchHints fetchHints)
public QueryResultsIterable<? extends VertexiumObject> search()
public <T> Query range(String propertyName, T startValue, T endValue)
Querypublic <T> Query range(String propertyName, T startValue, boolean inclusiveStartValue, T endValue, boolean inclusiveEndValue)
Querypublic Query hasId(String... ids)
Querypublic Query hasId(Iterable<String> ids)
Querypublic Query hasEdgeLabel(String... edgeLabels)
QueryhasEdgeLabel in interface QueryedgeLabels - The edge labels to filter on.public Query hasEdgeLabel(Collection<String> edgeLabels)
QueryhasEdgeLabel in interface QueryedgeLabels - The edge labels to filter on.public Query hasAuthorization(String... authorizations)
QueryhasAuthorization in interface Queryauthorizations - An element will match if it or any of its properties use one of the specified authorizations.public Query hasAuthorization(Iterable<String> authorizations)
QueryhasAuthorization in interface Queryauthorizations - An element will match if it or any of its properties use one of the specified authorizations.public Query hasExtendedData(ElementType elementType, String elementId)
QueryhasExtendedData in interface QueryelementType - The type of element.elementId - The element idpublic Query hasExtendedData(String tableName)
QueryhasExtendedData in interface QuerytableName - The table namepublic Query hasExtendedData(ElementType elementType, String elementId, String tableName)
QueryhasExtendedData in interface QueryelementType - The type of element. null to search all element types.elementId - The element id. null to search all elements.tableName - The table name. null to search all tables.public Query hasExtendedData(Iterable<HasExtendedDataFilter> filters)
QueryhasExtendedData in interface Queryfilters - The list of filters to be or'ed together.public <T> Query has(String propertyName, T value)
QueryCompare.EQUAL filter to the query.public <T> Query hasNot(String propertyName, T value)
QueryContains.NOT_IN filter to the query.public <T> Query has(String propertyName, Predicate predicate, T value)
Queryhas in interface QuerypropertyName - The name of the property to query on.predicate - One of Compare,
TextPredicate,
or GeoCompare.value - The value of the property to query for.public <T> Query has(Class dataType, Predicate predicate, T value)
Queryhas in interface QuerydataType - All properties with a matching datatype will be queried on. A match in any of the selected properties will cause a document to match.predicate - One of Compare,
TextPredicate,
or GeoCompare.value - The value of the property to query for.public Query has(Class dataType)
Querypublic Query hasNot(Class dataType)
Querypublic <T> Query has(Iterable<String> propertyNames)
Querypublic <T> Query hasNot(Iterable<String> propertyNames)
Querypublic <T> Query has(Iterable<String> propertyNames, Predicate predicate, T value)
Queryhas in interface QuerypropertyNames - All properties to query on. A match in any of the given properties will cause a document to match.predicate - One of Compare,
TextPredicate,
or GeoCompare.value - The value of the property to query for.public Query has(String propertyName)
Querypublic Query hasNot(String propertyName)
Querypublic Query skip(int count)
Querypublic Query limit(Integer count)
Querypublic Query limit(Long count)
Querypublic Query minScore(double score)
Querypublic Query scoringStrategy(ScoringStrategy scoringStrategy)
QueryscoringStrategy in interface Querypublic Query sort(String propertyName, SortDirection direction)
Querypublic boolean isAggregationSupported(Aggregation aggregation)
QueryisAggregationSupported in interface Queryaggregation - the aggregation to test.public Query addAggregation(Aggregation aggregation)
QueryaddAggregation in interface Queryaggregation - the aggregation to add.public Iterable<Aggregation> getAggregations()
QuerygetAggregations in interface QueryCopyright © 2014–2018. All rights reserved.