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 SummaryFieldsFields inherited from interface com.atlan.model.fields.ISearchableEMBEDDED_SOURCE_VALUE
- 
Constructor SummaryConstructors
- 
Method SummaryModifier 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.SearchableFieldbucketBy, bucketBy, count, distinct, distinct, getElasticFieldName, hasAnyValue, orderMethods inherited from class com.atlan.model.fields.AtlanFieldgetAtlanFieldNameMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.atlan.model.fields.ISearchablebucketBy, bucketBy
- 
Field Details- 
inLineage
 
- 
- 
Constructor Details- 
NumericFieldDefault constructor.- Parameters:
- atlan- name of the attribute in the metastore
- numeric- name of the numeric field in the search index
 
 
- 
- 
Method Details- 
getNumericFieldNameReturns the name of the numeric field index for this attribute in Elastic.- Specified by:
- getNumericFieldNamein interface- INumericallySearchable
- Returns:
- the field name for the numeric index on this attribute
 
- 
eqReturns a query that will match all assets whose provided field has a value that exactly matches the provided numeric value.- Specified by:
- eqin interface- INumericallySearchable
- 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
 
- 
gtReturns 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 interface- INumericallySearchable
- 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
 
- 
gteReturns 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 interface- INumericallySearchable
- 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
 
- 
ltReturns 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 interface- INumericallySearchable
- 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
 
- 
lteReturns 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 interface- INumericallySearchable
- 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
 
- 
betweenpublic <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 interface- INumericallySearchable
- 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)
 
- 
sumpublic 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 interface- INumericallySearchable
- Returns:
- criteria to calculate the sum of the values of the provided field across the results
 
- 
avgpublic co.elastic.clients.elasticsearch._types.aggregations.Aggregation avg()Return criteria to calculate the average value of the field across all results.- Specified by:
- avgin interface- INumericallySearchable
- Returns:
- criteria to calculate the average value of the provided field across the results
 
- 
minpublic co.elastic.clients.elasticsearch._types.aggregations.Aggregation min()Return criteria to calculate the minimum value of the field across all results.- Specified by:
- minin interface- INumericallySearchable
- Returns:
- criteria to calculate the minimum value of the provided field across the results
 
- 
maxpublic co.elastic.clients.elasticsearch._types.aggregations.Aggregation max()Return criteria to calculate the maximum value of the field across all results.- Specified by:
- maxin interface- INumericallySearchable
- Returns:
- criteria to calculate the maximum value of the provided field across the results
 
 
-