| Modifier and Type | Field and Description |
|---|---|
static String |
DATE_WRITEABLE_V2_CLASS |
static String |
HIVE_TIMESTAMP_TYPE_CLASS |
static org.slf4j.Logger |
LOG |
static String |
TIMESTAMP_WRITEABLE_V2_CLASS |
| Modifier and Type | Method and Description |
|---|---|
org.apache.hadoop.io.Writable |
getDateWriteable(int value)
Get date writeable object from int value.
|
int |
getDays(Object dateWritable) |
static Hive3Shim |
getInstance() |
long |
getMills(Object timestamp) |
org.apache.hadoop.io.Writable |
getTimestampWriteable(long value,
boolean timestampMillis)
Get timestamp writeable object from long value.
|
public static final org.slf4j.Logger LOG
public static final String HIVE_TIMESTAMP_TYPE_CLASS
public static final String TIMESTAMP_WRITEABLE_V2_CLASS
public static final String DATE_WRITEABLE_V2_CLASS
public static Hive3Shim getInstance()
public org.apache.hadoop.io.Writable getTimestampWriteable(long value,
boolean timestampMillis)
getTimestampWriteable in interface HiveShimpublic org.apache.hadoop.io.Writable getDateWriteable(int value)
getDateWriteable in interface HiveShimCopyright © 2024 The Apache Software Foundation. All rights reserved.