Package com.atlan.model.fields
Class NumericField
java.lang.Object
com.atlan.model.fields.AtlanField
com.atlan.model.fields.SearchableField
com.atlan.model.fields.NumericField
- All Implemented Interfaces:
INumericallySearchable,ISearchable
- Direct Known Subclasses:
InternalNumericField
Represents any field in Atlan that can be searched using only numeric search operations.
-
Field Summary
FieldsFields inherited from interface com.atlan.model.fields.ISearchable
EMBEDDED_SOURCE_VALUE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionco.elastic.clients.elasticsearch._types.aggregations.Aggregationavg()Return criteria to calculate the average value of the field across all results.<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.<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.<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.<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.<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.<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.Aggregationmax()Return criteria to calculate the maximum value of the field across all results.co.elastic.clients.elasticsearch._types.aggregations.Aggregationmin()Return criteria to calculate the minimum value of the field across all results.co.elastic.clients.elasticsearch._types.aggregations.Aggregationsum()Return criteria to calculate a sum of the values of the field across all results.Methods inherited from class com.atlan.model.fields.SearchableField
bucketBy, bucketBy, count, distinct, distinct, getElasticFieldName, hasAnyValue, orderMethods inherited from class com.atlan.model.fields.AtlanField
getAtlanFieldNameMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.atlan.model.fields.ISearchable
bucketBy, bucketBy
-
Field Details
-
inLineage
-
-
Constructor Details
-
NumericField
Default constructor.- Parameters:
atlan- name of the attribute in the metastorenumeric- name of the numeric field in the search index
-
-
Method Details
-
getNumericFieldName
Returns the name of the numeric field index for this attribute in Elastic.- Specified by:
getNumericFieldNamein interfaceINumericallySearchable- 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.- Specified by:
eqin interfaceINumericallySearchable- 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
-
gt
Returns a query that will match all assets whose provided field has a value that is strictly greater than the provided numeric value.- Specified by:
gtin interfaceINumericallySearchable- 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
-
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.- Specified by:
gtein interfaceINumericallySearchable- 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
-
lt
Returns a query that will match all assets whose provided field has a value that is strictly less than the provided numeric value.- Specified by:
ltin interfaceINumericallySearchable- 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
-
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.- Specified by:
ltein interfaceINumericallySearchable- 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
-
between
public <T extends Number> co.elastic.clients.elasticsearch._types.query_dsl.Query between(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.- Specified by:
betweenin interfaceINumericallySearchable- 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)
-
sum
public co.elastic.clients.elasticsearch._types.aggregations.Aggregation sum()Return criteria to calculate a sum of the values of the field across all results.- Specified by:
sumin interfaceINumericallySearchable- Returns:
- criteria to calculate the sum of the values of the provided field across the results
-
avg
public co.elastic.clients.elasticsearch._types.aggregations.Aggregation avg()Return criteria to calculate the average value of the field across all results.- Specified by:
avgin interfaceINumericallySearchable- Returns:
- criteria to calculate the average value of the provided field across the results
-
min
public co.elastic.clients.elasticsearch._types.aggregations.Aggregation min()Return criteria to calculate the minimum value of the field across all results.- Specified by:
minin interfaceINumericallySearchable- Returns:
- criteria to calculate the minimum value of the provided field across the results
-
max
public co.elastic.clients.elasticsearch._types.aggregations.Aggregation max()Return criteria to calculate the maximum value of the field across all results.- Specified by:
maxin interfaceINumericallySearchable- Returns:
- criteria to calculate the maximum value of the provided field across the results
-