public static enum Value.Format extends Enum<Value.Format> implements oracle.kv.impl.util.FastExternalizable
Enum Constant and Description |
---|
AVRO
Deprecated.
as of 4.0, use the table API instead.
|
NONE
The byte array format is not known to the store; the format is known
only to the application.
|
TABLE
The byte array format that is used by table rows.
|
TABLE_V1
Introduced at TABLE_V1 format:
- An new serialization way for string value in JSON field.
|
Modifier and Type | Method and Description |
---|---|
static boolean |
isTableFormat(int firstByte) |
static boolean |
isTableFormat(Value.Format format)
Returns true if the value format is for table.
|
static Value.Format |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Value.Format[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Value.Format NONE
NONE
are created
with Value.createValue(byte[])
. All values created using NoSQL DB
version 1.x have format NONE
.@Deprecated public static final Value.Format AVRO
AVRO
are created and
decomposed using an AvroBinding
.public static final Value.Format TABLE
public static final Value.Format TABLE_V1
public static Value.Format[] values()
for (Value.Format c : Value.Format.values()) System.out.println(c);
public static Value.Format 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 static boolean isTableFormat(Value.Format format)
public static boolean isTableFormat(int firstByte)
Copyright (c) 2011, 2017 Oracle and/or its affiliates. All rights reserved.