| Modifier and Type | Field and Description |
|---|---|
static String |
LOGICAL_NAME |
static Schema |
SCHEMA |
| Constructor and Description |
|---|
Timestamp() |
| Modifier and Type | Method and Description |
|---|---|
static SchemaBuilder |
builder()
Returns a SchemaBuilder for a Timestamp.
|
static long |
fromLogical(Schema schema,
Date value)
Convert a value from its logical format (
Date) to its encoded format (long). |
static Date |
toLogical(Schema schema,
long value)
Convert a value from its encoded format (long) to its logical format (
Date). |
public static final String LOGICAL_NAME
public static final Schema SCHEMA
public static SchemaBuilder builder()
public static long fromLogical(Schema schema, Date value)
Date) to its encoded format (long).value - the logical value