Package com.atlan.model.fields
Interface INumericallySearchable
- All Known Implementing Classes:
InternalNumericField
,NumericField
,NumericRankField
public interface INumericallySearchable
-
Method Summary
Modifier and TypeMethodDescriptionco.elastic.clients.elasticsearch._types.aggregations.Aggregation
avg()
Return criteria to calculate the average value of the field across all results.static co.elastic.clients.elasticsearch._types.aggregations.Aggregation
Return criteria to calculate the average value of the provided field across all results.static <T extends Number>
co.elastic.clients.elasticsearch._types.query_dsl.QueryReturns a query that will match all assets whose provided field has a value between the minimum and maximum specified values, inclusive.<T extends Number>
co.elastic.clients.elasticsearch._types.query_dsl.Querybetween
(T min, T max) Returns a query that will match all assets whose provided field has a value between the minimum and maximum specified values, inclusive.static <T extends Number>
co.elastic.clients.elasticsearch._types.query_dsl.QueryReturns a query that will match all assets whose provided field has a value that exactly matches the provided numeric value.<T extends Number>
co.elastic.clients.elasticsearch._types.query_dsl.Queryeq
(T value) Returns a query that will match all assets whose provided field has a value that exactly matches the provided numeric value.Returns the name of the numeric field index for this attribute in Elastic.static <T extends Number>
co.elastic.clients.elasticsearch._types.query_dsl.QueryReturns a query that will match all assets whose provided field has a value that is strictly greater than the provided numeric value.<T extends Number>
co.elastic.clients.elasticsearch._types.query_dsl.Querygt
(T value) Returns a query that will match all assets whose provided field has a value that is strictly greater than the provided numeric value.static <T extends Number>
co.elastic.clients.elasticsearch._types.query_dsl.QueryReturns a query that will match all assets whose provided field has a value that is greater than or equal to the provided numeric value.<T extends Number>
co.elastic.clients.elasticsearch._types.query_dsl.Querygte
(T value) Returns a query that will match all assets whose provided field has a value that is greater than or equal to the provided numeric value.static <T extends Number>
co.elastic.clients.elasticsearch._types.query_dsl.QueryReturns a query that will match all assets whose provided field has a value that is strictly less than the provided numeric value.<T extends Number>
co.elastic.clients.elasticsearch._types.query_dsl.Querylt
(T value) Returns a query that will match all assets whose provided field has a value that is strictly less than the provided numeric value.static <T extends Number>
co.elastic.clients.elasticsearch._types.query_dsl.QueryReturns a query that will match all assets whose provided field has a value that is less than or equal to the provided numeric value.<T extends Number>
co.elastic.clients.elasticsearch._types.query_dsl.Querylte
(T value) Returns a query that will match all assets whose provided field has a value that is less than or equal to the provided numeric value.co.elastic.clients.elasticsearch._types.aggregations.Aggregation
max()
Return criteria to calculate the maximum value of the field across all results.static co.elastic.clients.elasticsearch._types.aggregations.Aggregation
Return criteria to calculate the maximum value of the provided field across all results.co.elastic.clients.elasticsearch._types.aggregations.Aggregation
min()
Return criteria to calculate the minimum value of the field across all results.static co.elastic.clients.elasticsearch._types.aggregations.Aggregation
Return criteria to calculate the minimum value of the provided field across all results.co.elastic.clients.elasticsearch._types.aggregations.Aggregation
sum()
Return criteria to calculate a sum of the values of the field across all results.static co.elastic.clients.elasticsearch._types.aggregations.Aggregation
Return criteria to calculate a sum of the values of the provided field across all results.
-
Method Details
-
getNumericFieldName
String getNumericFieldName()Returns the name of the numeric field index for this attribute in Elastic.- Returns:
- the field name for the numeric index on this attribute
-
eq
Returns a query that will match all assets whose provided field has a value that exactly matches the provided numeric value.- Type Parameters:
T
- numeric values- Parameters:
value
- the numeric value to exactly match- Returns:
- a query that will only match assets whose value for the field is exactly the numeric value provided
-
eq
static <T extends Number> co.elastic.clients.elasticsearch._types.query_dsl.Query eq(String field, T value) Returns a query that will match all assets whose provided field has a value that exactly matches the provided numeric value.- Type Parameters:
T
- numeric values- Parameters:
field
- name of the field to searchvalue
- the numeric value to exactly match- Returns:
- a query that will only match assets whose value for the field is exactly the numeric value provided
-
gt
Returns a query that will match all assets whose provided field has a value that is strictly greater than the provided numeric value.- Type Parameters:
T
- numeric values- Parameters:
value
- the numeric value to compare against- Returns:
- a query that will only match assets whose value for the field is strictly greater than the numeric value provided
-
gt
static <T extends Number> co.elastic.clients.elasticsearch._types.query_dsl.Query gt(String field, T value) Returns a query that will match all assets whose provided field has a value that is strictly greater than the provided numeric value.- Type Parameters:
T
- numeric values- Parameters:
field
- name of the field to searchvalue
- the numeric value to compare against- Returns:
- a query that will only match assets whose value for the field is strictly greater than the numeric value provided
-
gte
Returns a query that will match all assets whose provided field has a value that is greater than or equal to the provided numeric value.- Type Parameters:
T
- numeric values- Parameters:
value
- the numeric value to compare against- Returns:
- a query that will only match assets whose value for the field is greater than or equal to the numeric value provided
-
gte
static <T extends Number> co.elastic.clients.elasticsearch._types.query_dsl.Query gte(String field, T value) Returns a query that will match all assets whose provided field has a value that is greater than or equal to the provided numeric value.- Type Parameters:
T
- numeric values- Parameters:
field
- name of the field to searchvalue
- the numeric value to compare against- Returns:
- a query that will only match assets whose value for the field is greater than or equal to the numeric value provided
-
lt
Returns a query that will match all assets whose provided field has a value that is strictly less than the provided numeric value.- Type Parameters:
T
- numeric values- Parameters:
value
- the numeric value to compare against- Returns:
- a query that will only match assets whose value for the field is strictly less than the numeric value provided
-
lt
static <T extends Number> co.elastic.clients.elasticsearch._types.query_dsl.Query lt(String field, T value) Returns a query that will match all assets whose provided field has a value that is strictly less than the provided numeric value.- Type Parameters:
T
- numeric values- Parameters:
field
- name of the field to searchvalue
- the numeric value to compare against- Returns:
- a query that will only match assets whose value for the field is strictly less than the numeric value provided
-
lte
Returns a query that will match all assets whose provided field has a value that is less than or equal to the provided numeric value.- Type Parameters:
T
- numeric values- Parameters:
value
- the numeric value to compare against- Returns:
- a query that will only match assets whose value for the field is less than or equal to the numeric value provided
-
lte
static <T extends Number> co.elastic.clients.elasticsearch._types.query_dsl.Query lte(String field, T value) Returns a query that will match all assets whose provided field has a value that is less than or equal to the provided numeric value.- Type Parameters:
T
- numeric values- Parameters:
field
- name of the field to searchvalue
- the numeric value to compare against- Returns:
- a query that will only match assets whose value for the field is less than or equal to the numeric value provided
-
between
Returns a query that will match all assets whose provided field has a value between the minimum and maximum specified values, inclusive.- Type Parameters:
T
- numeric values- Parameters:
min
- minimum value of the field that will match (inclusive)max
- maximum value of the field that will match (inclusive)- Returns:
- a query that will only match assets whose value for the field is between the min and max (both inclusive)
-
between
static <T extends Number> co.elastic.clients.elasticsearch._types.query_dsl.Query between(String field, T min, T max) Returns a query that will match all assets whose provided field has a value between the minimum and maximum specified values, inclusive.- Type Parameters:
T
- numeric values- Parameters:
field
- name of the field to searchmin
- minimum value of the field that will match (inclusive)max
- maximum value of the field that will match (inclusive)- Returns:
- a query that will only match assets whose value for the field is between the min and max (both inclusive)
-
sum
co.elastic.clients.elasticsearch._types.aggregations.Aggregation sum()Return criteria to calculate a sum of the values of the field across all results.- Returns:
- criteria to calculate the sum of the values of the provided field across the results
-
sum
Return criteria to calculate a sum of the values of the provided field across all results.- Parameters:
field
- for which to find the sum of values- Returns:
- criteria to calculate the sum of the values of the provided field across the results
-
avg
co.elastic.clients.elasticsearch._types.aggregations.Aggregation avg()Return criteria to calculate the average value of the field across all results.- Returns:
- criteria to calculate the average value of the provided field across the results
-
avg
Return criteria to calculate the average value of the provided field across all results.- Parameters:
field
- for which to find the average value- Returns:
- criteria to calculate the average value of the provided field across the results
-
min
co.elastic.clients.elasticsearch._types.aggregations.Aggregation min()Return criteria to calculate the minimum value of the field across all results.- Returns:
- criteria to calculate the minimum value of the provided field across the results
-
min
Return criteria to calculate the minimum value of the provided field across all results.- Parameters:
field
- for which to find the minimum value- Returns:
- criteria to calculate the minimum value of the provided field across the results
-
max
co.elastic.clients.elasticsearch._types.aggregations.Aggregation max()Return criteria to calculate the maximum value of the field across all results.- Returns:
- criteria to calculate the maximum value of the provided field across the results
-
max
Return criteria to calculate the maximum value of the provided field across all results.- Parameters:
field
- for which to find the maximum value- Returns:
- criteria to calculate the maximum value of the provided field across the results
-