Class NumberArrayField
- java.lang.Object
-
- co.elasticsearch.enterprisesearch.client.model.response.search.NumberArrayField
-
-
Constructor Summary
Constructors Constructor Description NumberArrayField()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<BigDecimal>getRaw()The raw number array valueList<Integer>getRawInteger()Get the values casting each to an Integer.List<Long>getRawLong()Get the values casting each to a Long.NumberArrayFieldsetRaw(List<BigDecimal> raw)The raw number array value
-
-
-
Method Detail
-
getRawInteger
public List<Integer> getRawInteger()
Get the values casting each to an Integer.- Returns:
- the values as an array of Integers
- Throws:
ArithmeticException- if this has a nonzero fractional part, or will not fit in a int.
-
getRawLong
public List<Long> getRawLong()
Get the values casting each to a Long.- Returns:
- the values as an array of Longs
- Throws:
ArithmeticException- if this has a nonzero fractional part, or will not fit in a long.
-
getRaw
public List<BigDecimal> getRaw()
The raw number array value
-
setRaw
public NumberArrayField setRaw(List<BigDecimal> raw)
The raw number array value- Parameters:
raw- the value- Returns:
this.
-
-