Modifier and Type | Method and Description |
---|---|
TimeUnit |
DurationVector.getUnit()
Gets the time unit of the duration.
|
Modifier and Type | Method and Description |
---|---|
static Duration |
DurationVector.toDuration(long value,
TimeUnit unit)
Converts the given value and unit to the appropriate
Duration . |
Modifier and Type | Method and Description |
---|---|
DurationWriter |
SingleStructWriter.duration(String name,
TimeUnit unit) |
DurationWriter |
NullableStructWriter.duration(String name,
TimeUnit unit) |
Modifier and Type | Method and Description |
---|---|
DurationWriter |
BaseWriter.StructWriter.duration(String name,
TimeUnit unit) |
Modifier and Type | Field and Description |
---|---|
TimeUnit |
DurationHolder.unit |
TimeUnit |
NullableDurationHolder.unit |
Modifier and Type | Method and Description |
---|---|
static TimeUnit |
TimeUnit.fromFlatbufID(short id) |
static TimeUnit |
TimeUnit.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TimeUnit[] |
TimeUnit.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
TimeUnit |
ArrowType.Time.getUnit() |
TimeUnit |
ArrowType.Timestamp.getUnit() |
TimeUnit |
ArrowType.Duration.getUnit() |
Constructor and Description |
---|
Duration(TimeUnit unit) |
Time(TimeUnit unit,
int bitWidth) |
Timestamp(TimeUnit unit,
String timezone) |
Copyright © 2023 The Apache Software Foundation. All rights reserved.