Uses of Class
com.attivio.sdk.search.query.Query
-
Packages that use Query Package Description com.attivio.client Contains the Client Attivio API for adding content, submitting queries, and sending general purpose messages to an Attivio server.com.attivio.connector com.attivio.sdk.client Interfaces for client side AIE development.com.attivio.sdk.client.trigger Copyright 2019 Attivio Inc., All rights reserved.com.attivio.sdk.connector com.attivio.sdk.dictionary com.attivio.sdk.ingest com.attivio.sdk.search com.attivio.sdk.search.facet Copyright 2019 Attivio Inc., All rights reserved.com.attivio.sdk.search.fields Model forFieldExpressions
applied toQueryRequests
.com.attivio.sdk.search.query com.attivio.sdk.search.relevancy Contains classes relevancy model related classes.com.attivio.sdk.test com.attivio.util.ft com.attivio.util.parser com.attivio.util.query Contains classes related to Attivio queries and query handlers.com.attivio.util.serialization.jaxb com.attivio.util.serialization.query -
-
Uses of Query in com.attivio.client
Methods in com.attivio.client with parameters of type Query Modifier and Type Method Description void
ContentFeeder. deleteByQuery(java.lang.String workflow, Query query)
Delete all documents that match theQuery
. -
Uses of Query in com.attivio.connector
Methods in com.attivio.connector with parameters of type Query Modifier and Type Method Description void
ConcurrentScannerMessagePublisher. delete(java.lang.String queryWorkflow, Query query)
-
Uses of Query in com.attivio.sdk.client
Methods in com.attivio.sdk.client with parameters of type Query Modifier and Type Method Description void
DocumentOutputClient. deleteByQuery(java.lang.String queryWorkflow, Query query)
Delete all documents that match theQuery
. -
Uses of Query in com.attivio.sdk.client.trigger
Methods in com.attivio.sdk.client.trigger that return Query Modifier and Type Method Description Query
TriggerDefinition. getQuery()
Get the query to use for matching this trigger.Methods in com.attivio.sdk.client.trigger that return types with arguments of type Query Modifier and Type Method Description java.util.Map<java.lang.String,Query>
TriggerDefinition. getEntities()
Get additional entities to extract.Methods in com.attivio.sdk.client.trigger with parameters of type Query Modifier and Type Method Description void
TriggerDefinition. addEntity(java.lang.String entity, Query query)
Add an additional entity to extract.void
TriggerDefinition. setQuery(Query value)
Set the query to use for matching this trigger.Method parameters in com.attivio.sdk.client.trigger with type arguments of type Query Modifier and Type Method Description void
TriggerDefinition. setEntities(java.util.Map<java.lang.String,Query> value)
Set additional entities to extract. -
Uses of Query in com.attivio.sdk.connector
Methods in com.attivio.sdk.connector with parameters of type Query Modifier and Type Method Description void
DocumentPublisher. delete(java.lang.String queryWorkflow, Query query)
Delete all documents that match a query.void
MockPublisher. delete(java.lang.String queryWorkflow, Query query)
-
Uses of Query in com.attivio.sdk.dictionary
Methods in com.attivio.sdk.dictionary that return types with arguments of type Query Modifier and Type Method Description java.util.List<Query>
DictionaryInfo. getDataSources()
Methods in com.attivio.sdk.dictionary with parameters of type Query Modifier and Type Method Description void
DictionaryInfo. addDataSource(Query value)
Method parameters in com.attivio.sdk.dictionary with type arguments of type Query Modifier and Type Method Description void
DictionaryInfo. setDataSources(java.util.List<Query> value)
-
Uses of Query in com.attivio.sdk.ingest
Methods in com.attivio.sdk.ingest that return Query Modifier and Type Method Description Query
BulkUpdate. getQuery()
Get the query for selecting documents to update.Methods in com.attivio.sdk.ingest with parameters of type Query Modifier and Type Method Description void
BulkUpdate. setQuery(Query query)
Set the query for selecting documents to update. -
Uses of Query in com.attivio.sdk.search
Methods in com.attivio.sdk.search that return Query Modifier and Type Method Description Query
QueryFrame. getInput()
Get the input query.Query
QueryFrame. getQuery()
Get the output query.Query
QueryRequest. getQuery()
Get the search query for this QueryRequest.Methods in com.attivio.sdk.search that return types with arguments of type Query Modifier and Type Method Description java.util.List<Query>
QueryRequest. getBoostQueries()
Get all boost queries applied to this QueryRequest.java.util.List<Query>
QueryFrame. getFilters()
java.util.List<Query>
QueryRequest. getFilters()
Get all filters for this query.Methods in com.attivio.sdk.search with parameters of type Query Modifier and Type Method Description void
QueryRequest. addBoostQuery(Query boost)
Add a boost query.void
QueryFrame. addFilter(Query value)
void
QueryRequest. addFilter(Query f)
Add a filterQuery
to this QueryRequest.void
QueryFrame. setFilters(Query... value)
void
QueryFrame. setInput(Query value)
Set the input query.void
QueryFrame. setQuery(Query value)
Set the output query.void
QueryRequest. setQuery(Query query)
Set the search query for this QueryRequest.Method parameters in com.attivio.sdk.search with type arguments of type Query Modifier and Type Method Description void
QueryRequest. setBoostQueries(java.util.List<Query> value)
Set the boost queries.void
QueryFrame. setFilters(java.util.List<Query> value)
void
QueryRequest. setFilters(java.util.List<Query> filters)
Set the filterQuery
s to apply to this QueryRequest.Constructors in com.attivio.sdk.search with parameters of type Query Constructor Description QueryRequest(Query query)
Constructor with aQuery
. -
Uses of Query in com.attivio.sdk.search.facet
Methods in com.attivio.sdk.search.facet that return Query Modifier and Type Method Description protected Query
FacetBucket. getFilter()
JSON SUPPORT FOLLOWSQuery
FacetFilter. getFilter()
Get the filter query.Query
FilterBasedFacetRequest. getFilter(java.lang.String label)
Query
QueryFacetBucket. getFilter()
Get the filter for this bucket.Query
FacetBucket. getQueryFilter(FacetResponse facet)
Deprecated.useFacetBucket.getQueryFilter(String)
instead.Query
FacetBucket. getQueryFilter(java.lang.String field)
Get theQuery
to use for drilling down on this bucket viafield
.Query
SchemaFieldBucket. getQueryFilter(java.lang.String field)
Get theQuery
to use for drilling down on this bucket viafield
.Methods in com.attivio.sdk.search.facet that return types with arguments of type Query Modifier and Type Method Description java.util.Collection<Query>
FilterBasedFacetRequest. filters()
Get the filters for this FilterBasedFacetRequest.java.util.Map<java.lang.String,Query>
FilterBasedFacetRequest. getFilters()
java.util.Iterator<java.util.Map.Entry<java.lang.String,Query>>
FilterBasedFacetRequest. iterator()
Get an iterator over all filters.Methods in com.attivio.sdk.search.facet with parameters of type Query Modifier and Type Method Description void
FilterBasedFacetRequest. add(java.lang.String label, Query filter)
Request that a Bucket forfilter
will be returned.void
FacetFilter. setFilter(Query value)
Get the filter query.void
QueryFacetBucket. setFilter(Query value)
Set the filter for this bucket.void
FacetBucket. setValue(Query value)
Set aQuery
value.Method parameters in com.attivio.sdk.search.facet with type arguments of type Query Modifier and Type Method Description void
FilterBasedFacetRequest. setFilters(java.util.Map<java.lang.String,Query> value)
Constructors in com.attivio.sdk.search.facet with parameters of type Query Constructor Description FacetBucket(Query query, long count)
FacetFilter(java.lang.String name, java.lang.String label, Query filter)
QueryFacetBucket(java.lang.String label, Query filter, long count)
Constructor. -
Uses of Query in com.attivio.sdk.search.fields
Methods in com.attivio.sdk.search.fields that return Query Modifier and Type Method Description Query
Teaser. getQuery()
Get the query to use for highlighting.Query
Teaser. getQuery(Query defaultQuery)
Get the query to use for highlighting.Methods in com.attivio.sdk.search.fields with parameters of type Query Modifier and Type Method Description Query
Teaser. getQuery(Query defaultQuery)
Get the query to use for highlighting.void
Teaser. setQuery(Query value)
Set the query to use for highlighting -
Uses of Query in com.attivio.sdk.search.query
Subclasses of Query in com.attivio.sdk.search.query Modifier and Type Class Description class
AccessControlQuery
Query that performs access control filtering of a search query.class
BooleanAndQuery
A BooleanAndQuery requires all sub queries must match.class
BooleanNotQuery
A BooleanNotQuery excludes all documents matching a sub query.class
BooleanOrQuery
A BooleanOrQuery requires at least one sub query must match.class
BoostQuery
Query operator that will apply a boost query to a search query.class
CompositeJoinQuery
Join query for querying "composite" document that consists of multiple documents.class
FacetQuery
class
FieldExpressionQuery
A query that matches documents using the value of aFieldExpression
.class
FilterQuery
class
GeoDistanceQuery
Query for matching documents that are a desired distance from a center point.class
GraphQuery
Query that recursively walks linked documents.class
JoinQuery
A JoinQuery matches all documents for a primary query, joining secondary queries.class
PhraseQuery
class
QueryPlugin
Query operator that can be used as a placeholder for replacement in the query workflow.class
QueryString
Query operator that contains an unparsed query string.class
SavedFilter
Query that uses a saved filter to match documents.class
ShapeQuery
Query for matching documents with via aShape
.class
SubQuery
Query operator that contains subQuery
.Fields in com.attivio.sdk.search.query declared as Query Modifier and Type Field Description protected Query
AbstractFilterQuery. query
The search query.protected Query
AbstractFilterQuery. query
The search query.protected Query
AbstractFilterQuery. query
The search query.protected Query
AbstractFilterQuery. query
The search query.protected Query
AbstractFilterQuery. query
The search query.protected Query
AbstractFilterQuery. query
The search query.protected Query
AbstractFilterQuery. query
The search query.Fields in com.attivio.sdk.search.query with type parameters of type Query Modifier and Type Field Description protected java.util.ArrayList<Query>
AbstractBooleanQuery. clauses
List of all clauses for this expressionprotected java.util.ArrayList<Query>
AbstractBooleanQuery. clauses
List of all clauses for this expressionMethods in com.attivio.sdk.search.query that return Query Modifier and Type Method Description Query
Query. clone()
Returns a deep copy of this Query instance.Query
AccessControlQuery. getAclQuery()
Get the query that will select ACL records.Query
BoostQuery. getBoostQuery()
Get the boost query.Query
FilterQuery. getFilter()
Query
AccessControlQuery. getFirstNode(QueryHandler selector)
Get the first query in the tree that hasparameter
set tovalue
.Query
BoostQuery. getFirstNode(QueryHandler selector)
Get the first query in the tree that hasparameter
set tovalue
.Query
CompositeJoinQuery. getFirstNode(QueryHandler selector)
Get the first query in the tree that hasparameter
set tovalue
.Query
JoinQuery. getFirstNode(QueryHandler selector)
Get the first query in the tree that hasparameter
set tovalue
.Query
Query. getFirstNode(QueryHandler selector)
Get the first query in the tree that hasparameter
set tovalue
.Query
CompositeJoinQuery. getFromQuery()
Get the query for selecting root documents.Query
AccessControlQuery. getPrincipalQuery()
Get the query that matches principal records.Query
CompositeJoinQuery. getQuery()
Get the search query to evaluate against a composite document.Query
QueryHandler. handleQuery(Query node)
Return true ifnode
meets the selection criteria.Query
AccessControlQuery. optimize()
Optimizes this query object, removing unnecessary levels of expressions.Query
BooleanNotQuery. optimize()
Optimizes this query object, removing unnecessary levels of expressions.Query
BoostQuery. optimize()
Optimizes this query object, removing unnecessary levels of expressions.Query
CompositeJoinQuery. optimize()
Optimizes this query object, removing unnecessary levels of expressions.Query
FilterQuery. optimize()
Optimizes this query object, removing unnecessary levels of expressions.Query
JoinQuery. optimize()
Optimizes this query object, removing unnecessary levels of expressions.Query
Query. optimize()
Optimizes this query object, removing unnecessary levels of expressions.Query
QueryString. optimize()
Optimizes this query object, removing unnecessary levels of expressions.static Query
Queries. parse(java.lang.String value)
Parse a query in advanced query language.static Query
Queries. readQuery(StringParser parser)
Read the nextQuery
fromparser
.Query
AccessControlQuery. rewrite(QueryHandler handler)
Recursively rewrite this query usinghandler
.Query
BoostQuery. rewrite(QueryHandler handler)
Recursively rewrite this query usinghandler
.Query
CompositeJoinQuery. rewrite(QueryHandler selector)
Recursively rewrite this query usinghandler
.Query
FieldExpressionQuery. rewrite(QueryHandler handler)
Recursively rewrite this query usinghandler
.Query
FilterQuery. rewrite(QueryHandler handler)
Recursively rewrite this query usinghandler
.Query
JoinQuery. rewrite(QueryHandler handler)
Recursively rewrite this query usinghandler
.Query
Query. rewrite(QueryHandler handler)
Recursively rewrite this query usinghandler
.protected static Query
Query. valueOf(java.lang.String value)
Methods in com.attivio.sdk.search.query that return types with arguments of type Query Modifier and Type Method Description java.lang.Iterable<Query>
Query. getNodes(QueryHandler selector)
Get all nodes in the query tree that haveparameter
set tovalue
.Methods in com.attivio.sdk.search.query with parameters of type Query Modifier and Type Method Description CompositeJoinQuery.Clause
CompositeJoinQuery. addClause(JoinMode mode, Query query)
Add a clause for selecting child documents.void
JoinQuery. addInnerJoin(Query query)
Add an Inner Join to the JoinQuery.void
JoinQuery. addInnerJoin(Query query, java.lang.String primaryKey, java.lang.String foreignKey)
Add an Inner Join to the JoinQuery.void
JoinQuery. addOuterJoin(Query query)
Add an Outer Join to the JoinQuery.void
JoinQuery. addOuterJoin(Query query, java.lang.String primaryKey, java.lang.String foreignKey)
Add an Outer Join to the JoinQuery.BooleanAndQuery
BooleanAndQuery. append(Query... args)
Adds required sub queries.BooleanOrQuery
BooleanOrQuery. append(Query... args)
Adds sub queries.protected static boolean
Query. equals(Query a, Query b, java.util.Map<java.lang.String,java.lang.Object> defaults, java.util.Set<java.lang.String> ignore)
Query equality method for 2 arbitrary query objects (null aware).boolean
Query. equals(Query other, java.util.Map<java.lang.String,java.lang.Object> defaults, java.lang.String... ignore)
Checks whetherquery
equals this Query object.Query
QueryHandler. handleQuery(Query node)
Return true ifnode
meets the selection criteria.void
AccessControlQuery. setAclQuery(Query value)
Set the query that will select ACL records.void
BoostQuery. setBoostQuery(Query value)
Set the boost query.void
FilterQuery. setFilter(Query filter)
void
CompositeJoinQuery. setFromQuery(Query value)
Set the query for selecting root documents.void
Query. setParameters(Query query)
Copies all parameters from another query into this Query instance.void
Query. setParameters(Query query, boolean override)
Copies all parameters from another query into this Query instance.void
AccessControlQuery. setPrincipalQuery(Query value)
Set the query that matches principal recoreds.void
CompositeJoinQuery. setQuery(Query value)
Set the search query to evaluate against a composite document.static java.lang.String
Queries. toCompactString(Query value)
Return the compact string representation ofvalue
.Method parameters in com.attivio.sdk.search.query with type arguments of type Query Modifier and Type Method Description protected void
AccessControlQuery. getNodes(java.util.List<Query> nodes, QueryHandler selector)
Internal method to collect all nodes that haveparameter
set tovalue
.protected void
BoostQuery. getNodes(java.util.List<Query> nodes, QueryHandler selector)
Internal method to collect all nodes that haveparameter
set tovalue
.protected void
CompositeJoinQuery. getNodes(java.util.List<Query> nodes, QueryHandler selector)
Internal method to collect all nodes that haveparameter
set tovalue
.protected void
JoinQuery. getNodes(java.util.List<Query> nodes, QueryHandler selector)
Internal method to collect all nodes that haveparameter
set tovalue
.protected void
Query. getNodes(java.util.List<Query> nodes, QueryHandler selector)
Internal method to collect all nodes that haveparameter
set tovalue
.void
BoostQuery. setBoostQuery(java.util.List<Query> value)
Set the boost query.Constructors in com.attivio.sdk.search.query with parameters of type Query Constructor Description AccessControlQuery(Query query, Query principal)
AccessControlQuery(Query query, Query acls, Query principal)
BooleanAndQuery(Query... clauses)
Construct a new BooleanAndQuery.BooleanAndQuery(Query a, Query b)
Construct a new BooleanAndQuery.BooleanNotQuery(Query query)
Construct a new BooleanNotQuery.BooleanOrQuery(Query... clauses)
Construct a new BooleanOrQuery.BooleanOrQuery(Query a, Query b)
Construct a new BooleanOrQuery.BoostQuery(Query query)
BoostQuery(Query query, FieldExpression... scoreFunctions)
BoostQuery(Query query, Query boostQuery)
BoostQuery(Query query, Query boostQuery, FieldExpression... scoreFunctions)
BoostQuery(Query query, Query boostQuery, java.util.List<FieldExpression> scoreFunctions)
BoostQuery(Query query, java.util.List<FieldExpression> scoreFunctions)
Clause(JoinMode mode, Query query)
CompositeJoinQuery(Query query)
CompositeJoinQuery(Query query, Query from, java.lang.String field)
FilterQuery(Query query, Query filter)
Construct a new FilterQueryGraphQuery(Query query, java.lang.String linkField, java.lang.String idField)
JoinClause(Query query, JoinMode mode)
ConstructorJoinClause(Query query, JoinMode mode, java.lang.String primaryKey, java.lang.String foreignKey)
ConstructorJoinQuery(Query query)
Construct a new JoinQuery.JoinQuery(Query query, java.util.ArrayList<JoinClause> clauses)
Expert Use Only.SubQuery(Query query)
ConstructorConstructor parameters in com.attivio.sdk.search.query with type arguments of type Query Constructor Description BooleanAndQuery(java.util.List<? extends Query> clauses)
Construct a new BooleanAndQuery.BooleanOrQuery(java.util.List<? extends Query> clauses)
Construct a new BooleanOrQuery. -
Uses of Query in com.attivio.sdk.search.relevancy
Methods in com.attivio.sdk.search.relevancy with parameters of type Query Modifier and Type Method Description static java.lang.String
Signal. getQueryString(Query query)
Get the original query string out of the query...static ScoreMode
ScoreMode. valueOf(Query query)
Get the scoring mode set forquery
. -
Uses of Query in com.attivio.sdk.test
Methods in com.attivio.sdk.test with parameters of type Query Modifier and Type Method Description static QueryAssert
QueryAssert. assertThat(Query actual)
Create aQueryAssert
for asserting attributes ofactual
.static QueryAssert
SdkAssert. assertThat(Query query)
Create aQueryAssert
for asserting attributes ofactual
.void
MockIngestClient. deleteByQuery(java.lang.String queryWorkflows, Query query)
QueryAssert
QueryAssert. equals(Query expected)
QueryAssert
QueryAssert. isTokenized(Query expected)
Assert that all terms inactual
are tokenized, and matchesexpected
. -
Uses of Query in com.attivio.util.ft
Methods in com.attivio.util.ft with parameters of type Query Modifier and Type Method Description boolean
TransactionReceiver. delete(long progress, Query query)
Receive aQuery
-based deletion from the transaction logvoid
TransactionLog. deleteByQuery(Query query)
Add a query deletion to the transaction log. -
Uses of Query in com.attivio.util.parser
Classes in com.attivio.util.parser with type parameters of type Query Modifier and Type Class Description class
QueryOperator<T extends Query>
Methods in com.attivio.util.parser that return Query Modifier and Type Method Description Query
QueryParsers. eval(QueryString query)
Hook to allow inline parsing ofquery
.abstract Query
QueryOperator. parse(QueryParsers parser, ScopeTerm scope, StringParser reader)
Query
QueryOperators.AccessControlQueryOperator. parse(QueryParsers parser, ScopeTerm scope, StringParser reader)
Query
QueryOperators.AndQueryOperator. parse(QueryParsers parser, ScopeTerm scope, StringParser reader)
Query
QueryOperators.BoostQueryOperator. parse(QueryParsers parser, ScopeTerm scope, StringParser reader)
Query
QueryOperators.CompositeJoinQueryOperator. parse(QueryParsers parser, ScopeTerm scope, StringParser reader)
Query
QueryOperators.FilterQueryOperator. parse(QueryParsers parser, ScopeTerm scope, StringParser reader)
Query
QueryOperators.GraphQueryOperator. parse(QueryParsers parser, ScopeTerm scope, StringParser reader)
Query
QueryOperators.IsNullOperator. parse(QueryParsers parser, ScopeTerm scope, StringParser reader)
Query
QueryOperators.JoinQueryOperator. parse(QueryParsers parser, ScopeTerm scope, StringParser reader)
Query
QueryOperators.NotQueryOperator. parse(QueryParsers parser, ScopeTerm scope, StringParser reader)
Query
QueryOperators.NullQueryOperator. parse(QueryParsers parser, ScopeTerm scope, StringParser reader)
Query
QueryOperators.OrQueryOperator. parse(QueryParsers parser, ScopeTerm scope, StringParser reader)
Query
QueryOperators.PhraseQueryOperator. parse(QueryParsers parser, ScopeTerm scope, StringParser reader)
Query
QueryOperators.QueryPluginOperator. parse(QueryParsers parser, ScopeTerm scope, StringParser reader)
Query
QueryOperators.QueryStringOperator. parse(QueryParsers parser, ScopeTerm scope, StringParser reader)
Query
QueryOperators.SubQueryOperator. parse(QueryParsers parser, ScopeTerm scope, StringParser reader)
Query
QueryOperators.TermQueryOperator. parse(QueryParsers parser, ScopeTerm scope, StringParser reader)
Query
QueryOperators.NullQueryOperator. parseNoArgs(QueryParsers parser, ScopeTerm scope)
Query
QueryParsers. parseQuery(ScopeTerm scope, StringParser reader)
Parse the next Query.Query
QueryParsers. parseQuery(java.lang.String value)
Query
QueryParsers. parseQuery(java.lang.String op, int startOffset, ScopeTerm scope, StringParser reader)
Parseop
as a query.Query
QueryParsers. parseQueryEx(java.lang.String value)
Query
QueryParsers. parseQueryTerm(ScopeTerm scope, java.lang.String text, StringParser reader)
Methods in com.attivio.util.parser that return types with arguments of type Query Modifier and Type Method Description java.util.Map<java.lang.String,Query>
FacetRequestFactory. getFilters()
Filters to compute document frequencies for.Methods in com.attivio.util.parser with parameters of type Query Modifier and Type Method Description protected void
QueryOperator. addArgument(QueryParsers parser, T query, Query argument)
protected void
QueryOperators.AndQueryOperator. addArgument(QueryParsers parser, BooleanAndQuery query, Query argument)
protected void
QueryOperators.BoostQueryOperator. addArgument(QueryParsers parser, BoostQuery query, Query arg)
protected void
QueryOperators.OrQueryOperator. addArgument(QueryParsers parser, BooleanOrQuery query, Query argument)
void
FacetRequestFactory. addFilter(java.lang.String label, Query filter)
Method parameters in com.attivio.util.parser with type arguments of type Query Modifier and Type Method Description void
FacetRequestFactory. setFilters(java.util.Map<java.lang.String,Query> value)
-
Uses of Query in com.attivio.util.query
Methods in com.attivio.util.query that return Query Modifier and Type Method Description static Query
QueryUtils. createIdQuery(java.lang.String id)
Construct a query that will return only the document specified byid
.Query
QueryParameterSelector. handleQuery(Query node)
Return true ifnode
meets the selection criteria.static Query
QueryUtils. resolveQuery(QueryRequest request)
Resolve the query fromrequest
.Query
QueryTraverser. rewrite(Query query)
Recursively rewritequery
.static Query
QueryUtils. rewrite(Query query, QueryHandler handler)
Null Safe rewrite ofquery
usinghandler
.protected Query
QueryTraverser. rewriteChildren(Query query, QueryHandler defaultHandler)
Called to recursively rewrite children ofquery
.protected Query
QueryTraverser. rewriteQuery(Query query)
Callback method called prior to traversing the children ofquery
.protected Query
QueryTraverser. rewriteTree(Query query, QueryHandler defaultHandler)
Called to recursively rewrite a top levelquery
.static Query
QueryUtils. setQueryLanguage(Query query, java.lang.String language)
Set the query language forquery
tolanguage
.static Query
QueryUtils. setQueryString(Query query, java.lang.String value)
Set the query string forquery
tovalue
.Methods in com.attivio.util.query with parameters of type Query Modifier and Type Method Description Query
QueryParameterSelector. handleQuery(Query node)
Return true ifnode
meets the selection criteria.static boolean
QueryUtils. isMatchAll(Query query)
Get ifquery
is a *:* query.Query
QueryTraverser. rewrite(Query query)
Recursively rewritequery
.static Query
QueryUtils. rewrite(Query query, QueryHandler handler)
Null Safe rewrite ofquery
usinghandler
.protected Query
QueryTraverser. rewriteChildren(Query query, QueryHandler defaultHandler)
Called to recursively rewrite children ofquery
.protected Query
QueryTraverser. rewriteQuery(Query query)
Callback method called prior to traversing the children ofquery
.protected Query
QueryTraverser. rewriteTree(Query query, QueryHandler defaultHandler)
Called to recursively rewrite a top levelquery
.static Query
QueryUtils. setQueryLanguage(Query query, java.lang.String language)
Set the query language forquery
tolanguage
.static Query
QueryUtils. setQueryString(Query query, java.lang.String value)
Set the query string forquery
tovalue
.Method parameters in com.attivio.util.query with type arguments of type Query Modifier and Type Method Description void
QueryTraverser. rewrite(java.util.List<Query> queries)
static void
QueryUtils. rewrite(java.util.List<Query> queries, QueryHandler handler)
-
Uses of Query in com.attivio.util.serialization.jaxb
Methods in com.attivio.util.serialization.jaxb that return Query Modifier and Type Method Description Query
QueryAdapter. unmarshal(java.lang.String value)
Methods in com.attivio.util.serialization.jaxb with parameters of type Query Modifier and Type Method Description java.lang.String
QueryAdapter. marshal(Query value)
-
Uses of Query in com.attivio.util.serialization.query
Methods in com.attivio.util.serialization.query that return Query Modifier and Type Method Description static Query
AbstractQueryConverter. unmarshalNode(java.lang.Object current, com.thoughtworks.xstream.io.HierarchicalStreamReader reader, com.thoughtworks.xstream.converters.UnmarshallingContext context, com.thoughtworks.xstream.mapper.Mapper mapper)
Use convertAnother to unmarshal a query properly.static Query
AbstractQueryConverter. unmarshalQuery(com.thoughtworks.xstream.io.HierarchicalStreamReader reader, com.thoughtworks.xstream.converters.UnmarshallingContext context, com.thoughtworks.xstream.mapper.Mapper mapper)
Unmarshal a query that is a child.Methods in com.attivio.util.serialization.query with parameters of type Query Modifier and Type Method Description static void
AbstractQueryConverter. marshalBoost(Query query, com.thoughtworks.xstream.io.HierarchicalStreamWriter writer)
void
AbstractQueryConverter. marshalParameters(Query query, com.thoughtworks.xstream.io.HierarchicalStreamWriter writer, com.thoughtworks.xstream.converters.MarshallingContext context)
Marshal All Query Parameters.static void
AbstractQueryConverter. unmarshalBoost(Query query, com.thoughtworks.xstream.io.HierarchicalStreamReader reader)
void
AbstractQueryConverter. unmarshalParameter(Query query, com.thoughtworks.xstream.io.HierarchicalStreamReader reader, com.thoughtworks.xstream.converters.UnmarshallingContext context)
Unmarshal a query parameter.void
AbstractQueryConverter. unmarshalParameters(Query query, com.thoughtworks.xstream.io.HierarchicalStreamReader reader, com.thoughtworks.xstream.converters.UnmarshallingContext context)
Unmarshal a query parameter.
-