Package | Description |
---|---|
com.attivio.sdk.search | |
com.attivio.sdk.search.facet |
Copyright 2015 Attivio Inc., All rights reserved.
|
com.attivio.sdk.search.fields |
Model for
FieldExpressions applied to
QueryRequests . |
com.attivio.sdk.search.query | |
com.attivio.sdk.search.relevancy |
Contains classes relevancy model related classes.
|
com.attivio.sdk.server.udf |
API for implementing user defined field expression.
|
com.attivio.sdk.util | |
com.attivio.util | |
com.attivio.util.parser | |
com.attivio.util.query |
Modifier and Type | Field and Description |
---|---|
protected FieldExpression |
Sort.field
The field being sorted on.
|
Modifier and Type | Method and Description |
---|---|
FieldExpression |
Sort.getField()
Get the field to sort by.
|
FieldExpression[] |
QueryRequest.getFields()
Get the fields requested for this query (or
null for SELECT *). |
FieldExpression[] |
QueryRequest.getGroupBy()
Get the Group By specification.
|
FieldExpression |
QueryRequest.getGroupByFilter()
Experimental: Get the filter to apply to groups.
|
FieldExpression |
QueryRequest.getRowFilter()
Experimental: Get the filter to apply to rows.
|
Modifier and Type | Method and Description |
---|---|
List<FieldExpression> |
QueryRequest.getScoreFunctions()
Gets the scoring functions to use for this QueryRequest.
|
Modifier and Type | Method and Description |
---|---|
void |
QueryRequest.addField(FieldExpression field)
Add a FieldExpression to return for this QueryRequest.
|
void |
QueryRequest.addScoreFunction(FieldExpression... value)
Add a scoring function to this QueryRequest.
|
void |
QueryRequest.addScoreFunction(FieldExpression value)
Add a scoring function to this QueryRequest.
|
void |
QueryRequest.addSort(FieldExpression field,
Sort.SortOrder order) |
void |
Sort.setField(FieldExpression value)
Set the field to sort by.
|
void |
QueryRequest.setFields(FieldExpression... newFields)
Set the fields to return for this QueryRequest.
|
void |
QueryRequest.setGroupBy(FieldExpression... columns)
Set the Group By specification.
|
void |
QueryRequest.setGroupByFilter(FieldExpression value)
Experimental: Set the filter to apply to groups.
|
void |
QueryRequest.setRowFilter(FieldExpression value)
Experimental: Set the filter to apply to rows.
|
Modifier and Type | Method and Description |
---|---|
void |
QueryRequest.setFields(Collection<FieldExpression> value)
Set the fields to return for this QueryRequest.
|
void |
QueryRequest.setGroupBy(List<FieldExpression> columns)
Set the Group By specification.
|
void |
QueryRequest.setScoreFunctions(List<FieldExpression> value)
Sets the scoring functions to use for this QueryRequest.
|
Constructor and Description |
---|
Sort(FieldExpression field) |
Sort(FieldExpression field,
Sort.SortOrder order) |
Sort(FieldExpression field,
Sort.SortOrder order,
Sort.NullSortOrder nullOrder) |
Modifier and Type | Method and Description |
---|---|
FieldExpression |
SchemaFacetRequest.getFieldExpression() |
FieldExpression |
FacetRequest.getFieldExpression()
Get the
FieldExpression to request a facet for. |
Modifier and Type | Method and Description |
---|---|
void |
SchemaFacetRequest.setFieldExpression(FieldExpression value) |
void |
FacetRequest.setFieldExpression(FieldExpression value)
Set the
FieldExpression to request a facet for. |
Constructor and Description |
---|
DateFacetRequest(FieldExpression field) |
DateFacetRequest(FieldExpression field,
List<DateFacetRequest.DateFacetInterval> intervals) |
FacetRequest(FieldExpression field) |
FacetRequest(FieldExpression field,
boolean facetFinder) |
FacetRequest(String name,
FieldExpression field) |
RangeFacetRequest(FieldExpression field) |
ScopeFacetRequest(FieldExpression field,
String scope) |
Modifier and Type | Class and Description |
---|---|
class |
AggregateExpression
Expressions for transforming a set of values produced by an underlayinng
FieldExpression . |
class |
BinaryFieldExpression
Abstract
FieldExpression that takes two FieldExpression s as arguments. |
class |
BinaryMathExpression
Mathematical expression for applying a function to two arguments.
|
class |
BooleanExpression
Boolean Logic Expression.
|
class |
Cast
Apply a type cast to a
FieldExpression . |
class |
ClauseContext
Selects a clause that fields should be extracted for.
|
class |
Coalesce
Coalesce multiple sub FieldExpressions.
|
class |
Collate
Collation field expression.
|
class |
Compare
Comparison expression.
|
class |
Concat
Concat the string representation of multiple FieldExpressions together.
|
class |
Condition
Conditional Expression.
|
class |
Constant
Constant value FieldExpression.
|
class |
CurrentTime
Constant value FieldExpression.
|
class |
DateAdd
Field expression to add a value to a calendar field for a date.
|
class |
DateDiff
Field expression to compute the number of
CalendarField boundaries that exist between 2 date values. |
class |
DateExtract
Field expression to extract a calendar field for a date.
|
class |
DateFormat
FieldExpression for formatting a date value.
|
class |
DocBoost
Boost Documents Specified By Document Id.
|
class |
FieldLength
FieldExpression for returning an approximate number of tokenized terms for a field for each document.
|
class |
Freshness
Field Expression to calculate a Freshness score.
|
class |
GeoBoost
Computes a boost score based on the geographical distance from a center point.
|
class |
GeoDistance
Computes the geographical distance from a center point.
|
class |
Locate |
class |
LowerCase
Lower Case String Normalization.
|
class |
MatchingFields
FieldExpression to provide the list of fields that matched during query execution.
|
class |
MatchingTerms
FieldExpression to provide the list of terms that match the query for a field.
|
class |
MultiaryFieldExpression
Abstract
FieldExpression that takes an arbitrary number of FieldExpression s as arguments. |
class |
MultiValueJoin
FieldExpression that joins all values of a multi value field on a delimiter.
|
class |
NumDocs
FieldExpression that returns the number of indexed documents.
|
class |
PartitionId
The PartitionId field expression returns an integer indicating the partition where a document is indexed.
|
class |
PhraseMatch
FieldExpression that returns a
boolean result indicating if a phrase matches a document. |
class |
PhraseScore
FieldExpression that computes the score for a phrase match for each document.
|
class |
QueryParameter
FieldExpression for returning a query parameter from a
QueryRequest . |
class |
RegexMatch
Regex match field expression.
|
class |
ScopeField
FieldExpression for returning scopes from a stored field.
|
class |
ScopeFrequency
FieldExpression that returns the number of occurrences for a specified scope in the specified field for a document.
|
class |
ScopeTeaser
Teaser field expression for convenient use of scope field highlighting. |
class |
ScoreExplain
FieldExpression to provide the explanation of a document's score.
|
class |
StandardScore
Standard Score FieldExpression.
|
class |
StoredField
FieldExpression for returning the values for a stored field.
|
class |
StringLength
Computes the length of a string.
|
class |
SubString
Substring field expression.
|
class |
Switch
A select case field expression.
|
class |
Teaser
Computes a dynamic teaser.
|
class |
TitleCase
Title Case String Normalization.
|
class |
TotalScopeFrequency
FieldExpression that returns the total number of occurrences for a specified scope across all documents for a specified field.
|
class |
TotalTermFrequency
FieldExpression that returns the total number terms indexed for a specified field.
|
class |
Trim
Trim field expression.
|
class |
UnaryFieldExpression
Abstract
FieldExpression that takes a single FieldExpression as an argument. |
class |
UnaryMathExpression
Mathematical expression for transforming a single argument.
|
class |
Union
Union field values for multiple sub expressions.
|
class |
UpperCase
Upper Case String Normalization.
|
class |
UserDefinedField
FieldExpression for generically modeling a user defined field implementation.
|
Modifier and Type | Field and Description |
---|---|
protected FieldExpression |
BinaryFieldExpression.arg0
The First argument
|
protected FieldExpression |
BinaryFieldExpression.arg1
The Second argument
|
protected FieldExpression[] |
MultiaryFieldExpression.args |
protected FieldExpression |
Condition.condition |
protected static FieldExpression[] |
FieldExpression.EMPTY_ARRAY
Empty array of field expressions.
|
protected FieldExpression |
UnaryFieldExpression.expression
The expression that is the argument to this expression.
|
protected FieldExpression |
Condition.falseValue
The Second argument
|
protected FieldExpression |
Condition.trueValue
The First argument
|
Modifier and Type | Method and Description |
---|---|
FieldExpression |
FieldExpression.as(String aliasx)
Set the alias and return this FieldExpression.
|
FieldExpression |
FieldExpression.clone() |
FieldExpression |
UnaryFieldExpression.clone() |
protected abstract FieldExpression |
MultiaryFieldExpression.clone(FieldExpression... x)
Create a new instance of this FieldExpression, with different arguments.
|
protected FieldExpression |
DateExtract.clone(FieldExpression e)
Create a new instance of this FieldExpression, with a different argument.
|
protected FieldExpression |
UnaryFieldExpression.clone(FieldExpression e)
Create a new instance of this FieldExpression, with a different argument.
|
protected FieldExpression |
DateAdd.clone(FieldExpression x,
FieldExpression y)
Create a new instance of this FieldExpression, with different arguments.
|
protected FieldExpression |
DateDiff.clone(FieldExpression x,
FieldExpression y)
Create a new instance of this FieldExpression, with different arguments.
|
protected abstract FieldExpression |
BinaryFieldExpression.clone(FieldExpression x,
FieldExpression y)
Create a new instance of this FieldExpression, with different arguments.
|
static FieldExpression[] |
FieldExpression.copyOf(FieldExpression[] args,
int length)
Create a copy of
args . |
FieldExpression |
MultiaryFieldExpression.getArgument(int index)
Get argument at
index . |
FieldExpression[] |
MultiaryFieldExpression.getArguments()
Get the arguments.
|
FieldExpression |
Switch.Case.getCondition() |
FieldExpression |
Condition.getCondition()
Get the condition expression.
|
FieldExpression |
Switch.getDefaultOutput()
Get the
FieldExpression that will provide the output if no cases match. |
FieldExpression |
UnaryFieldExpression.getExpression()
Get the expression to apply the aggregation function to.
|
FieldExpression |
Condition.getFalseValue()
Get the false value expression.
|
FieldExpression |
BinaryFieldExpression.getFirstArgument()
Get the first argument in this binary expression.
|
FieldExpression |
Switch.getInput()
Get the input
FieldExpression to compare against cases. |
FieldExpression |
Switch.Case.getOutput() |
FieldExpression |
Locate.getSearch()
Get the search string.
|
FieldExpression |
BinaryFieldExpression.getSecondArgument()
Get the second argument in this binary expression.
|
FieldExpression |
Locate.getStartPosition()
Get the starting position to begin the search.
|
FieldExpression |
Locate.getString()
Get the string to be searched.
|
FieldExpression |
Condition.getTrueValue()
Get the true value expression.
|
abstract FieldExpression |
FieldExpressionHandler.handleFieldExpression(FieldExpression field)
Method called for every FieldExpression encountered while traversing a top level FieldExpression.
|
protected static FieldExpression |
FieldExpression.handleFieldExpression(FieldExpressionHandler handler,
FieldExpression input) |
FieldExpression |
MultiaryFieldExpression.rewriteChildren(FieldExpressionHandler handler)
Traverse this FieldExpression using
handler to visit/rewrite direct child elements if this expression. |
FieldExpression |
UserDefinedField.rewriteChildren(FieldExpressionHandler handler)
Traverse this FieldExpression using
handler to visit/rewrite direct child elements if this expression. |
FieldExpression |
ScopeFrequency.rewriteChildren(FieldExpressionHandler handler)
Traverse this FieldExpression using
handler to visit/rewrite direct child elements if this expression. |
FieldExpression |
PartitionId.rewriteChildren(FieldExpressionHandler handler)
Traverse this FieldExpression using
handler to visit/rewrite direct child elements if this expression. |
FieldExpression |
FieldLength.rewriteChildren(FieldExpressionHandler handler)
Traverse this FieldExpression using
handler to visit/rewrite direct child elements if this expression. |
FieldExpression |
TotalTermFrequency.rewriteChildren(FieldExpressionHandler handler)
Traverse this FieldExpression using
handler to visit/rewrite direct child elements if this expression. |
FieldExpression |
Constant.rewriteChildren(FieldExpressionHandler handler)
Traverse this FieldExpression using
handler to visit/rewrite direct child elements if this expression. |
FieldExpression |
NumDocs.rewriteChildren(FieldExpressionHandler handler)
Traverse this FieldExpression using
handler to visit/rewrite direct child elements if this expression. |
FieldExpression |
MatchingFields.rewriteChildren(FieldExpressionHandler handler)
Traverse this FieldExpression using
handler to visit/rewrite direct child elements if this expression. |
FieldExpression |
MatchingTerms.rewriteChildren(FieldExpressionHandler handler)
Traverse this FieldExpression using
handler to visit/rewrite direct child elements if this expression. |
FieldExpression |
ScoreExplain.rewriteChildren(FieldExpressionHandler handler)
Traverse this FieldExpression using
handler to visit/rewrite direct child elements if this expression. |
FieldExpression |
Locate.rewriteChildren(FieldExpressionHandler handler)
Traverse this FieldExpression using
handler to visit/rewrite direct child elements if this expression. |
FieldExpression |
QueryParameter.rewriteChildren(FieldExpressionHandler handler)
Traverse this FieldExpression using
handler to visit/rewrite direct child elements if this expression. |
FieldExpression |
BinaryFieldExpression.rewriteChildren(FieldExpressionHandler handler)
Traverse this FieldExpression using
handler to visit/rewrite direct child elements if this expression. |
FieldExpression |
Switch.rewriteChildren(FieldExpressionHandler handler)
Traverse this FieldExpression using
handler to visit/rewrite direct child elements if this expression. |
FieldExpression |
StoredField.rewriteChildren(FieldExpressionHandler handler)
Traverse this FieldExpression using
handler to visit/rewrite direct child elements if this expression. |
FieldExpression |
TotalScopeFrequency.rewriteChildren(FieldExpressionHandler handler)
Traverse this FieldExpression using
handler to visit/rewrite direct child elements if this expression. |
FieldExpression |
DocBoost.rewriteChildren(FieldExpressionHandler handler)
Traverse this FieldExpression using
handler to visit/rewrite direct child elements if this expression. |
FieldExpression |
CurrentTime.rewriteChildren(FieldExpressionHandler handler)
Traverse this FieldExpression using
handler to visit/rewrite direct child elements if this expression. |
FieldExpression |
ScopeField.rewriteChildren(FieldExpressionHandler handler)
Traverse this FieldExpression using
handler to visit/rewrite direct child elements if this expression. |
abstract FieldExpression |
FieldExpression.rewriteChildren(FieldExpressionHandler handler)
Traverse this FieldExpression using
handler to visit/rewrite direct child elements if this expression. |
FieldExpression |
Condition.rewriteChildren(FieldExpressionHandler handler)
Traverse this FieldExpression using
handler to visit/rewrite direct child elements if this expression. |
FieldExpression |
UnaryFieldExpression.rewriteChildren(FieldExpressionHandler handler)
Traverse this FieldExpression using
handler to visit/rewrite direct child elements if this expression. |
Modifier and Type | Method and Description |
---|---|
List<FieldExpression> |
UserDefinedField.getArguments()
Get the arguments.
|
Modifier and Type | Method and Description |
---|---|
UserDefinedField |
UserDefinedField.addArgument(FieldExpression value)
Add an argument.
|
void |
Switch.addCase(FieldExpression condition,
FieldExpression output) |
protected abstract FieldExpression |
MultiaryFieldExpression.clone(FieldExpression... x)
Create a new instance of this FieldExpression, with different arguments.
|
protected Concat |
Concat.clone(FieldExpression... x)
Create a new instance of this FieldExpression, with different arguments.
|
protected Coalesce |
Coalesce.clone(FieldExpression... x)
Create a new instance of this FieldExpression, with different arguments.
|
protected BooleanExpression |
BooleanExpression.clone(FieldExpression... x)
Create a new instance of this FieldExpression, with different arguments.
|
protected Union |
Union.clone(FieldExpression... x)
Create a new instance of this FieldExpression, with different arguments.
|
protected StandardScore |
StandardScore.clone(FieldExpression e)
Create a new instance of this FieldExpression, with a different argument.
|
protected SubString |
SubString.clone(FieldExpression e)
Create a new instance of this FieldExpression, with a different argument.
|
protected Trim |
Trim.clone(FieldExpression input)
Create a new instance of this FieldExpression, with a different argument.
|
protected StringLength |
StringLength.clone(FieldExpression e)
Create a new instance of this FieldExpression, with a different argument.
|
protected LowerCase |
LowerCase.clone(FieldExpression e)
Create a new instance of this FieldExpression, with a different argument.
|
protected DateFormat |
DateFormat.clone(FieldExpression e)
Create a new instance of this FieldExpression, with a different argument.
|
protected UpperCase |
UpperCase.clone(FieldExpression e)
Create a new instance of this FieldExpression, with a different argument.
|
protected FieldExpression |
DateExtract.clone(FieldExpression e)
Create a new instance of this FieldExpression, with a different argument.
|
protected Freshness |
Freshness.clone(FieldExpression e)
Create a new instance of this FieldExpression, with a different argument.
|
protected GeoBoost |
GeoBoost.clone(FieldExpression e)
Create a new instance of this FieldExpression, with a different argument.
|
protected TitleCase |
TitleCase.clone(FieldExpression e)
Create a new instance of this FieldExpression, with a different argument.
|
protected UnaryMathExpression |
UnaryMathExpression.clone(FieldExpression e)
Create a new instance of this FieldExpression, with a different argument.
|
protected MultiValueJoin |
MultiValueJoin.clone(FieldExpression e)
Create a new instance of this FieldExpression, with a different argument.
|
protected GeoDistance |
GeoDistance.clone(FieldExpression e)
Create a new instance of this FieldExpression, with a different argument.
|
protected RegexMatch |
RegexMatch.clone(FieldExpression input)
Create a new instance of this FieldExpression, with a different argument.
|
protected AggregateExpression |
AggregateExpression.clone(FieldExpression e)
Create a new instance of this FieldExpression, with a different argument.
|
protected Collate |
Collate.clone(FieldExpression e)
Create a new instance of this FieldExpression, with a different argument.
|
protected FieldExpression |
UnaryFieldExpression.clone(FieldExpression e)
Create a new instance of this FieldExpression, with a different argument.
|
protected Cast |
Cast.clone(FieldExpression e)
Create a new instance of this FieldExpression, with a different argument.
|
protected FieldExpression |
DateAdd.clone(FieldExpression x,
FieldExpression y)
Create a new instance of this FieldExpression, with different arguments.
|
protected BinaryMathExpression |
BinaryMathExpression.clone(FieldExpression x,
FieldExpression y)
Create a new instance of this FieldExpression, with different arguments.
|
protected FieldExpression |
DateDiff.clone(FieldExpression x,
FieldExpression y)
Create a new instance of this FieldExpression, with different arguments.
|
protected abstract FieldExpression |
BinaryFieldExpression.clone(FieldExpression x,
FieldExpression y)
Create a new instance of this FieldExpression, with different arguments.
|
protected Compare |
Compare.clone(FieldExpression x,
FieldExpression y)
Create a new instance of this FieldExpression, with different arguments.
|
static FieldExpression[] |
FieldExpression.copyOf(FieldExpression[] args,
int length)
Create a copy of
args . |
boolean |
MultiaryFieldExpression.equalsIgnoreAlias(FieldExpression other)
Returns
true if other is the same as this , with the exception of alias. |
boolean |
UserDefinedField.equalsIgnoreAlias(FieldExpression other)
Returns
true if other is the same as this , with the exception of alias. |
boolean |
ScopeFrequency.equalsIgnoreAlias(FieldExpression other)
Returns
true if other is the same as this , with the exception of alias. |
boolean |
PartitionId.equalsIgnoreAlias(FieldExpression other)
Returns
true if other is the same as this , with the exception of alias. |
boolean |
FieldLength.equalsIgnoreAlias(FieldExpression other)
Returns
true if other is the same as this , with the exception of alias. |
boolean |
PhraseMatch.equalsIgnoreAlias(FieldExpression other)
Returns
true if other is the same as this , with the exception of alias. |
boolean |
TotalTermFrequency.equalsIgnoreAlias(FieldExpression other)
Returns
true if other is the same as this , with the exception of alias. |
boolean |
Constant.equalsIgnoreAlias(FieldExpression other)
Returns
true if other is the same as this , with the exception of alias. |
boolean |
NumDocs.equalsIgnoreAlias(FieldExpression other)
Returns
true if other is the same as this , with the exception of alias. |
boolean |
MatchingFields.equalsIgnoreAlias(FieldExpression other)
Returns
true if other is the same as this , with the exception of alias. |
boolean |
PhraseScore.equalsIgnoreAlias(FieldExpression other)
Returns
true if other is the same as this , with the exception of alias. |
boolean |
MatchingTerms.equalsIgnoreAlias(FieldExpression other)
Returns
true if other is the same as this , with the exception of alias. |
boolean |
ScoreExplain.equalsIgnoreAlias(FieldExpression other)
Returns
true if other is the same as this , with the exception of alias. |
boolean |
Locate.equalsIgnoreAlias(FieldExpression other)
Returns
true if other is the same as this , with the exception of alias. |
boolean |
QueryParameter.equalsIgnoreAlias(FieldExpression other)
Returns
true if other is the same as this , with the exception of alias. |
boolean |
BinaryFieldExpression.equalsIgnoreAlias(FieldExpression other)
Returns
true if other is the same as this , with the exception of alias. |
boolean |
Switch.equalsIgnoreAlias(FieldExpression other)
Returns
true if other is the same as this , with the exception of alias. |
boolean |
StoredField.equalsIgnoreAlias(FieldExpression other)
Returns
true if other is the same as this , with the exception of alias. |
boolean |
TotalScopeFrequency.equalsIgnoreAlias(FieldExpression other)
Returns
true if other is the same as this , with the exception of alias. |
boolean |
DocBoost.equalsIgnoreAlias(FieldExpression other)
Returns
true if other is the same as this , with the exception of alias. |
boolean |
CurrentTime.equalsIgnoreAlias(FieldExpression other)
Returns
true if other is the same as this , with the exception of alias. |
boolean |
ScopeField.equalsIgnoreAlias(FieldExpression other)
Returns
true if other is the same as this , with the exception of alias. |
abstract boolean |
FieldExpression.equalsIgnoreAlias(FieldExpression other)
Returns
true if other is the same as this , with the exception of alias. |
boolean |
Condition.equalsIgnoreAlias(FieldExpression other)
Returns
true if other is the same as this , with the exception of alias. |
boolean |
UnaryFieldExpression.equalsIgnoreAlias(FieldExpression other)
Returns
true if other is the same as this , with the exception of alias. |
protected static boolean |
FieldExpression.equalsIgnoreAlias(FieldExpression a,
FieldExpression b)
Null safe equivalent to
a.equalsIgnoreAlias(b) |
abstract FieldExpression |
FieldExpressionHandler.handleFieldExpression(FieldExpression field)
Method called for every FieldExpression encountered while traversing a top level FieldExpression.
|
protected static FieldExpression |
FieldExpression.handleFieldExpression(FieldExpressionHandler handler,
FieldExpression input) |
protected static boolean |
FieldExpression.isConstant(FieldExpression value) |
protected boolean |
DateAdd.parametersEqual(FieldExpression other)
Returns
true if other 's parameters are the same as this . |
protected boolean |
StandardScore.parametersEqual(FieldExpression other)
Returns
true if other 's parameters are the same as this . |
protected abstract boolean |
MultiaryFieldExpression.parametersEqual(FieldExpression other)
Returns
true if other 's parameters are the same as this . |
protected boolean |
Concat.parametersEqual(FieldExpression other)
Returns
true if other 's parameters are the same as this . |
protected boolean |
SubString.parametersEqual(FieldExpression other)
Returns
true if other 's parameters are the same as this . |
protected boolean |
Coalesce.parametersEqual(FieldExpression other)
Returns
true if other 's parameters are the same as this . |
protected boolean |
Trim.parametersEqual(FieldExpression other)
Returns
true if other 's parameters are the same as this . |
protected boolean |
StringLength.parametersEqual(FieldExpression other)
Returns
true if other 's parameters are the same as this . |
protected boolean |
BooleanExpression.parametersEqual(FieldExpression other)
Returns
true if other 's parameters are the same as this . |
protected boolean |
LowerCase.parametersEqual(FieldExpression other)
Returns
true if other 's parameters are the same as this . |
protected boolean |
ClauseContext.parametersEqual(FieldExpression other)
Returns
true if other 's parameters are the same as this . |
protected boolean |
DateFormat.parametersEqual(FieldExpression other)
Returns
true if other 's parameters are the same as this . |
protected boolean |
UpperCase.parametersEqual(FieldExpression other)
Returns
true if other 's parameters are the same as this . |
protected boolean |
DateExtract.parametersEqual(FieldExpression other)
Returns
true if other 's parameters are the same as this . |
protected boolean |
Teaser.parametersEqual(FieldExpression other)
Returns
true if other 's parameters are the same as this . |
protected boolean |
Freshness.parametersEqual(FieldExpression other)
Returns
true if other 's parameters are the same as this . |
protected boolean |
GeoBoost.parametersEqual(FieldExpression other)
Returns
true if other 's parameters are the same as this . |
protected boolean |
TitleCase.parametersEqual(FieldExpression other)
Returns
true if other 's parameters are the same as this . |
protected boolean |
BinaryMathExpression.parametersEqual(FieldExpression other)
Returns
true if other 's parameters are the same as this . |
protected boolean |
UnaryMathExpression.parametersEqual(FieldExpression other)
Returns
true if other 's parameters are the same as this . |
protected boolean |
MultiValueJoin.parametersEqual(FieldExpression other)
Returns
true if other 's parameters are the same as this . |
protected boolean |
GeoDistance.parametersEqual(FieldExpression other)
Returns
true if other 's parameters are the same as this . |
protected boolean |
DateDiff.parametersEqual(FieldExpression other)
Returns
true if other 's parameters are the same as this . |
protected abstract boolean |
BinaryFieldExpression.parametersEqual(FieldExpression other)
Returns
true if other 's parameters are the same as this . |
protected boolean |
Compare.parametersEqual(FieldExpression other)
Returns
true if other 's parameters are the same as this . |
protected boolean |
RegexMatch.parametersEqual(FieldExpression other)
Returns
true if other 's parameters are the same as this . |
protected boolean |
AggregateExpression.parametersEqual(FieldExpression other)
Returns
true if other 's parameters are the same as this . |
protected boolean |
Collate.parametersEqual(FieldExpression other)
Returns
true if other 's parameters are the same as this . |
protected boolean |
Union.parametersEqual(FieldExpression other)
Returns
true if other 's parameters are the same as this . |
protected abstract boolean |
UnaryFieldExpression.parametersEqual(FieldExpression other)
Returns
true if other 's parameters are the same as this . |
protected boolean |
Cast.parametersEqual(FieldExpression other)
Returns
true if other 's parameters are the same as this . |
protected static void |
FieldExpression.rewrite(QueryHandler handler,
boolean recursive,
FieldExpression input) |
void |
MultiaryFieldExpression.setArguments(FieldExpression... value)
Set the arguments.
|
void |
UserDefinedField.setArguments(FieldExpression... value)
Set the arguments.
|
void |
Switch.Case.setCondition(FieldExpression value) |
void |
Condition.setCondition(FieldExpression value)
Set the condition expression.
|
void |
Switch.setDefaultOutput(FieldExpression value)
Set the
FieldExpression that will provide the output if no cases match. |
void |
UnaryFieldExpression.setExpression(FieldExpression expression)
Set the expression to apply the aggregation function to.
|
void |
Condition.setFalseValue(FieldExpression value)
Get the true value expression.
|
void |
BinaryFieldExpression.setFirstArgument(FieldExpression value)
Set the first argument in this binary expression.
|
void |
Switch.setInput(FieldExpression value)
Get the input
FieldExpression to compare against cases. |
void |
Switch.Case.setOutput(FieldExpression value) |
void |
Locate.setSearch(FieldExpression value)
Set the search string.
|
void |
BinaryFieldExpression.setSecondArgument(FieldExpression value)
Set the second argument in this binary expression.
|
void |
Locate.setStartPosition(FieldExpression value)
Set the starting position to begin the search.
|
void |
Locate.setString(FieldExpression value)
Set the string to be searched.
|
void |
Condition.setTrueValue(FieldExpression value)
Get the true value expression.
|
void |
FieldExpression.StringMode.toString(StringBuilder buffer,
FieldExpression field) |
Modifier and Type | Method and Description |
---|---|
void |
UserDefinedField.setArguments(List<FieldExpression> value)
Set the arguments.
|
Constructor and Description |
---|
AggregateExpression(AggregateExpression.Method method,
FieldExpression expression)
Construct a new AggregateExpression.
|
AggregateExpression(AggregateExpression.Method method,
FieldExpression expression,
String alias)
Construct a new AggregateExpression to apply to a
FieldExpression with an alias. |
BinaryFieldExpression(FieldExpression x,
FieldExpression y) |
BinaryFieldExpression(FieldExpression x,
FieldExpression y,
String alias)
Construct a new BinaryFieldExpression.
|
BinaryMathExpression(BinaryMathExpression.Method method,
FieldExpression x,
FieldExpression y)
Construct a new BinaryMathExpression.
|
BinaryMathExpression(BinaryMathExpression.Method method,
FieldExpression x,
FieldExpression y,
MultiValueMode mode)
Construct a new BinaryMathExpression.
|
BinaryMathExpression(BinaryMathExpression.Method method,
FieldExpression x,
FieldExpression y,
MultiValueMode mode,
String alias)
Construct a new BinaryMathExpression.
|
BinaryMathExpression(BinaryMathExpression.Method method,
FieldExpression x,
FieldExpression y,
String alias)
Construct a new BinaryMathExpression.
|
BooleanExpression(BooleanExpression.Operator op,
FieldExpression... args) |
BooleanExpression(BooleanExpression.Operator op,
FieldExpression[] args,
String alias) |
Case(FieldExpression condition,
FieldExpression output) |
Cast(FieldExpression expression,
SchemaField.Type type)
Construct a new Cast, casting
expression to type . |
Cast(FieldExpression expression,
SchemaField.Type type,
int scale)
Construct a new Cast, casting
expression to type . |
Cast(FieldExpression expression,
SchemaField.Type type,
String alias)
Construct a new Cast, casting
expression to type . |
Cast(FieldExpression expression,
SchemaField.Type type,
TimeResolution resolution)
Construct a new Cast, casting
expression to type . |
Cast(FieldExpression expression,
SchemaField.Type type,
TimeResolution resolution,
String alias)
Construct a new Cast, casting
expression to type . |
Cast(FieldExpression expression,
TimeResolution resolution)
Construct a new Cast, casting
expression to resolution . |
Cast(FieldExpression expression,
TimeResolution resolution,
String alias)
Construct a new Cast, casting
expression to type . |
ClauseContext(FieldExpression expression,
String clause) |
ClauseContext(FieldExpression expression,
String clause,
String alias) |
Coalesce(FieldExpression... args) |
Coalesce(FieldExpression[] args,
String alias) |
Collate(FieldExpression expression) |
Collate(FieldExpression expression,
Collate.Strength strength) |
Collate(FieldExpression expression,
Collate.Strength strength,
Collate.Decomposition decomposition) |
Collate(FieldExpression expression,
Collate.Strength strength,
Collate.Decomposition decomposition,
String alias) |
Collate(FieldExpression expression,
String alias) |
Compare(Compare.Operator op,
FieldExpression x,
FieldExpression y)
Construct a new Compare function.
|
Compare(Compare.Operator op,
FieldExpression x,
FieldExpression y,
String alias)
Construct a new Compare function.
|
Concat(FieldExpression... args) |
Concat(FieldExpression[] args,
MultiValueMode mode,
String alias) |
Concat(FieldExpression[] args,
String alias) |
Condition(FieldExpression condition,
FieldExpression trueValue,
FieldExpression falseValue) |
Condition(FieldExpression condition,
FieldExpression trueValue,
FieldExpression falseValue,
String alias)
Construct a new Condition.
|
DateAdd(CalendarField field,
FieldExpression expression,
FieldExpression amount)
Construct a new CalendarField to apply to a
FieldExpression with an alias. |
DateDiff(CalendarField field,
FieldExpression a,
FieldExpression b) |
DateExtract(CalendarField field,
FieldExpression expression)
Construct a new CalendarField to apply to a
FieldExpression with an alias. |
DateFormat(FieldExpression expression,
String format) |
DateFormat(FieldExpression expression,
String format,
String alias) |
Freshness(FieldExpression field) |
Freshness(FieldExpression field,
String alias) |
GeoBoost(FieldExpression expression,
double latitude,
double longitude)
Constructor.
|
GeoBoost(FieldExpression expression,
double latitude,
double longitude,
String alias)
Constructor.
|
GeoDistance(FieldExpression expression,
double latitude,
double longitude)
Construct a new FieldFunction to apply an aggregation function to another expression.
|
GeoDistance(FieldExpression expression,
double latitude,
double longitude,
DistanceUnits distanceUnits,
String alias)
Construct a new FieldFunction to apply an aggregation function to another expression with an alias.
|
GeoDistance(FieldExpression expression,
double latitude,
double longitude,
String alias)
Construct a new FieldFunction to apply an aggregation function to another expression with an alias.
|
Locate(FieldExpression search,
FieldExpression string) |
Locate(FieldExpression search,
FieldExpression string,
FieldExpression startPosition) |
Locate(FieldExpression search,
FieldExpression string,
FieldExpression startPosition,
String alias) |
LowerCase(FieldExpression expression) |
LowerCase(FieldExpression expression,
String alias) |
MultiaryFieldExpression(FieldExpression... args) |
MultiaryFieldExpression(FieldExpression[] args,
String alias) |
MultiValueJoin(FieldExpression expression,
String delimiter) |
MultiValueJoin(FieldExpression expression,
String delimiter,
String alias) |
RegexMatch(FieldExpression input,
String pattern) |
RegexMatch(FieldExpression input,
String pattern,
String alias) |
ScopeTeaser(HighlightMode mode,
FieldExpression field,
String scope,
String alias) |
StandardScore(FieldExpression input,
double mean,
double stdev) |
StandardScore(FieldExpression input,
double mean,
double stdev,
String alias) |
StringLength(FieldExpression expression) |
StringLength(FieldExpression expression,
String alias) |
SubString(FieldExpression expression,
int offset,
int length) |
SubString(FieldExpression expression,
int offset,
int length,
String alias) |
Switch(FieldExpression... args) |
Switch(FieldExpression input) |
Switch(FieldExpression input,
FieldExpression defaultOutput) |
Switch(FieldExpression input,
String alias) |
Teaser(FieldExpression expression,
String alias) |
TitleCase(FieldExpression expression) |
TitleCase(FieldExpression expression,
String alias) |
Trim(FieldExpression input) |
Trim(Trim.Mode mode,
FieldExpression input,
String remstr) |
Trim(Trim.Mode mode,
FieldExpression input,
String remstr,
String alias) |
UnaryFieldExpression(FieldExpression argument)
Construct a new UnaryFieldExpression.
|
UnaryFieldExpression(FieldExpression argument,
String alias)
Construct a new UnaryFieldExpression.
|
UnaryMathExpression(UnaryMathExpression.Method method,
FieldExpression expression)
Construct a new UnaryMathExpression.
|
UnaryMathExpression(UnaryMathExpression.Method method,
FieldExpression expression,
String alias)
Construct a new UnaryMathExpression to apply to a
FieldExpression with an alias. |
Union(FieldExpression... args) |
Union(FieldExpression[] args,
String alias) |
UpperCase(FieldExpression expression) |
UpperCase(FieldExpression expression,
String alias) |
UserDefinedField(String name,
FieldExpression... args) |
Constructor and Description |
---|
BooleanExpression(BooleanExpression.Operator op,
List<FieldExpression> args) |
BooleanExpression(BooleanExpression.Operator op,
List<FieldExpression> args,
String alias) |
MultiaryFieldExpression(List<? extends FieldExpression> args,
String alias) |
Union(List<? extends FieldExpression> args) |
Modifier and Type | Method and Description |
---|---|
FieldExpression |
FieldExpressionQuery.getField()
Get the
FieldExpression to use for filtering. |
FieldExpression |
FacetQuery.getFieldExpression()
Get the search field as a field expression.
|
FieldExpression |
JoinClause.getJoinConstraint()
(Experimental) Get the join constraint.
|
FieldExpression |
JoinClause.getJoinExpression()
Get the compiled
FieldExpression that will be used to evaluate the join criteria. |
FieldExpression[] |
BoostQuery.getScoreFunctions()
Get the ScoreFunctions to use for boosting
AbstractFilterQuery.getQuery() . |
Modifier and Type | Method and Description |
---|---|
void |
BoostQuery.addScoreFunction(FieldExpression value)
Add a ScoreFunction to this BoostQuery.
|
void |
FieldExpressionQuery.setField(FieldExpression value)
Set the
FieldExpression to use for filtering. |
void |
FacetQuery.setFieldExpression(FieldExpression value)
Set the search field to be a field expression.
|
void |
JoinClause.setJoinConstraint(FieldExpression value)
(Experimental) Set the join constraint.
|
void |
BoostQuery.setScoreFunctions(FieldExpression... value)
Set the ScoreFunctions to use for boosting
AbstractFilterQuery.getQuery() . |
Modifier and Type | Method and Description |
---|---|
void |
BoostQuery.setScoreFunctions(List<FieldExpression> value)
Set the ScoreFunctions to use for boosting
AbstractFilterQuery.getQuery() . |
Constructor and Description |
---|
BoostQuery(Query query,
FieldExpression... scoreFunctions) |
BoostQuery(Query query,
Query boostQuery,
FieldExpression... scoreFunctions) |
FacetQuery(FieldExpression field,
Object value) |
FacetQuery(FieldExpression field,
PhraseTerm term) |
FacetQuery(FieldExpression field,
String text) |
FieldExpressionQuery(FieldExpression field)
Constructor
|
Constructor and Description |
---|
BoostQuery(Query query,
List<FieldExpression> scoreFunctions) |
BoostQuery(Query query,
Query boostQuery,
List<FieldExpression> scoreFunctions) |
Modifier and Type | Method and Description |
---|---|
FieldExpression |
RelevancyFeature.getField() |
FieldExpression |
FieldBoostFeature.getField()
Get the field to use for boosting.
|
FieldExpression |
CategoryBoostFeature.getField()
Get the field that will generate the categories that will be used to create per-category features.
|
Modifier and Type | Method and Description |
---|---|
void |
RelevancyFeature.setField(FieldExpression value) |
void |
FieldBoostFeature.setField(FieldExpression value)
Set the field to use for boosting.
|
void |
CategoryBoostFeature.setField(FieldExpression value)
Set the field that will generate the categories that will be used to create per-category features.
|
Constructor and Description |
---|
CategoryBoostFeature(String name,
FieldExpression field) |
FieldBoostFeature(String name,
FieldExpression field) |
RelevancyFeature(String name,
FieldExpression field) |
Modifier and Type | Method and Description |
---|---|
FieldExpression |
ArgumentInfo.getField()
Get the field expression used to generate the values for this argument.
|
Modifier and Type | Method and Description |
---|---|
FieldExpression |
StringParser.readFieldExpression() |
Modifier and Type | Method and Description |
---|---|
static List<FieldExpression> |
FieldExpressionFactory.clone(List<FieldExpression> value)
Deep clone a list of FieldExprssions.
|
Modifier and Type | Method and Description |
---|---|
static List<FieldExpression> |
FieldExpressionFactory.clone(List<FieldExpression> value)
Deep clone a list of FieldExprssions.
|
Modifier and Type | Method and Description |
---|---|
FieldExpression |
FacetRequestFactory.getField()
The field expression to facet over.
|
static FieldExpression |
FieldExpressionParsers.parse(String value) |
abstract FieldExpression |
FieldExpressionParser.parse(StringParser reader,
String name)
Parse a field expression from
reader . |
static FieldExpression |
FieldExpressionParsers.parseArgument(StringParser reader)
Parse the next FieldExpression.
|
Modifier and Type | Method and Description |
---|---|
void |
FacetRequestFactory.setField(FieldExpression value) |
Modifier and Type | Method and Description |
---|---|
void |
QueryTraverser.rewrite(FieldExpression... fields)
Recursively rewrite any queries in
fields . |
void |
QueryTraverser.rewrite(FieldExpression field)
Recursively rewrite any queries in
field . |
static void |
QueryUtils.rewriteFields(FieldExpression[] fields,
QueryHandler handler) |
Copyright © 2018 Attivio, Inc. All Rights Reserved.
PATENT NOTICE: Attivio, Inc. Software Related Patents. With respect to the Attivio software product(s) being used, the following patents apply: Querying Joined Data Within A Search Engine Index: United States Patent No.(s): 8,073,840. Ordered Processing of Groups of Messages: U.S. Patent No.(s) 8,495,656. Signal processing approach to sentiment analysis for entities in documents: U.S. Patent No.(s) 8,725,494. Other U.S. and International Patents Pending.