public class DocumentOperators extends Object
Modifier and Type | Class and Description |
---|---|
static class |
DocumentOperators.DenseRank
DocumentOperators.DenseRank resolves the current document position (the rank) relative to other documents. |
static class |
DocumentOperators.DocumentNumber
DocumentOperators.DocumentNumber resolves the current document position. |
static class |
DocumentOperators.DocumentOperatorsFactory |
static class |
DocumentOperators.Rank
DocumentOperators.Rank resolves the current document position (the rank) relative to other documents. |
static class |
DocumentOperators.Shift
Shift applies an expression to a document in a specified position relative to the current document.
|
Constructor and Description |
---|
DocumentOperators() |
Modifier and Type | Method and Description |
---|---|
static DocumentOperators.DenseRank |
denseRank()
Obtain the document position (without gaps) relative to others (rank).
|
static DocumentOperators.DocumentNumber |
documentNumber()
Obtain the current document position.
|
static DocumentOperators.Rank |
rank()
Obtain the document position (including gaps) relative to others (rank).
|
static DocumentOperators.DocumentOperatorsFactory |
valueOf(AggregationExpression expression)
Take the value resulting from the given
AggregationExpression . |
static DocumentOperators.DocumentOperatorsFactory |
valueOf(String fieldReference)
Take the field referenced by given fieldReference.
|
public static DocumentOperators.Rank rank()
DocumentOperators.Rank
.public static DocumentOperators.DenseRank denseRank()
DocumentOperators.DenseRank
.public static DocumentOperators.DocumentOperatorsFactory valueOf(String fieldReference)
fieldReference
- must not be null.DocumentOperators.DocumentOperatorsFactory
.public static DocumentOperators.DocumentOperatorsFactory valueOf(AggregationExpression expression)
AggregationExpression
.expression
- must not be null.DocumentOperators.DocumentOperatorsFactory
.public static DocumentOperators.DocumentNumber documentNumber()
DocumentOperators.DocumentNumber
.Copyright © 2011–2023 Pivotal Software, Inc.. All rights reserved.