@Namespace(value="arrow::compute") public static enum arrow.RoundMode extends Enum<arrow.RoundMode>
| Enum Constant and Description |
|---|
DOWN
Round to nearest integer less than or equal in magnitude (aka "floor")
|
HALF_DOWN
Round ties with DOWN rule
|
HALF_TO_EVEN
Round ties to nearest even integer
|
HALF_TO_ODD
Round ties to nearest odd integer
|
HALF_TOWARDS_INFINITY
Round ties with TOWARDS_INFINITY rule
|
HALF_TOWARDS_ZERO
Round ties with TOWARDS_ZERO rule
|
HALF_UP
Round ties with UP rule
|
TOWARDS_INFINITY
Round negative values with DOWN rule and positive values with UP rule
|
TOWARDS_ZERO
Get the integral part without fractional digits (aka "trunc")
|
UP
Round to nearest integer greater than or equal in magnitude (aka "ceil")
|
| Modifier and Type | Field and Description |
|---|---|
byte |
value |
| Modifier and Type | Method and Description |
|---|---|
arrow.RoundMode |
intern() |
String |
toString() |
static arrow.RoundMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static arrow.RoundMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final arrow.RoundMode DOWN
public static final arrow.RoundMode UP
public static final arrow.RoundMode TOWARDS_ZERO
public static final arrow.RoundMode TOWARDS_INFINITY
public static final arrow.RoundMode HALF_DOWN
public static final arrow.RoundMode HALF_UP
public static final arrow.RoundMode HALF_TOWARDS_ZERO
public static final arrow.RoundMode HALF_TOWARDS_INFINITY
public static final arrow.RoundMode HALF_TO_EVEN
public static final arrow.RoundMode HALF_TO_ODD
public static arrow.RoundMode[] values()
for (arrow.RoundMode c : arrow.RoundMode.values()) System.out.println(c);
public static arrow.RoundMode valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic arrow.RoundMode intern()
public String toString()
toString in class Enum<arrow.RoundMode>Copyright © 2022. All rights reserved.