public class ORecordSerializerJSON extends ORecordSerializerStringAbstract
Modifier and Type | Class and Description |
---|---|
static class |
ORecordSerializerJSON.FormatSettings |
Modifier and Type | Field and Description |
---|---|
static String |
ATTRIBUTE_FIELD_TYPES |
static int |
INITIAL_SIZE |
static ORecordSerializerJSON |
INSTANCE |
static String |
NAME |
static char[] |
PARAMETER_SEPARATOR |
PROFILER
Constructor and Description |
---|
ORecordSerializerJSON() |
Modifier and Type | Method and Description |
---|---|
<RET> RET |
deserializeFieldFromEmbedded(byte[] record,
int offset,
String iFieldName,
int serializerVersion) |
<RET> RET |
deserializeFieldFromRoot(byte[] record,
String iFieldName) |
ORecord |
fromString(String iSource,
ORecord iRecord,
String[] iFields) |
ORecord |
fromString(String iSource,
ORecord iRecord,
String[] iFields,
boolean needReload) |
ORecord |
fromString(String iSource,
ORecord iRecord,
String[] iFields,
String iOptions,
boolean needReload) |
ORecord |
fromString(String iSource,
ORecord iRecord,
String[] iFields,
String iOptions,
boolean needReload,
int maxRidbagSizeBeforeSkip,
Set<Integer> skippedPartsIndexes) |
int |
getCurrentVersion() |
String[] |
getFieldNamesEmbedded(ODocument reference,
byte[] iSource,
int offset,
int serializerVersion) |
int |
getMinSupportedVersion() |
String |
getName() |
String |
toString() |
void |
toString(ORecord iRecord,
OJSONWriter json,
String iFormat,
boolean iOnlyDelta,
boolean autoDetectCollectionType) |
StringBuilder |
toString(ORecord iRecord,
StringBuilder iOutput,
String iFormat,
boolean iOnlyDelta,
boolean autoDetectCollectionType) |
byte[] |
writeClassOnly(ORecord iSource) |
convertValue, fieldTypeFromStream, fieldTypeToString, fromStream, fromString, getFieldNamesRoot, getSupportBinaryEvaluate, getType, getType, getTypeValue, simpleValueFromStream, simpleValueToStream, toStream, toString
public static final String NAME
public static final ORecordSerializerJSON INSTANCE
public static final String ATTRIBUTE_FIELD_TYPES
public static final char[] PARAMETER_SEPARATOR
public static final int INITIAL_SIZE
public <RET> RET deserializeFieldFromRoot(byte[] record, String iFieldName)
public <RET> RET deserializeFieldFromEmbedded(byte[] record, int offset, String iFieldName, int serializerVersion)
public int getCurrentVersion()
public int getMinSupportedVersion()
public ORecord fromString(String iSource, ORecord iRecord, String[] iFields, boolean needReload)
public ORecord fromString(String iSource, ORecord iRecord, String[] iFields)
fromString
in class ORecordSerializerStringAbstract
public ORecord fromString(String iSource, ORecord iRecord, String[] iFields, String iOptions, boolean needReload)
public ORecord fromString(String iSource, ORecord iRecord, String[] iFields, String iOptions, boolean needReload, int maxRidbagSizeBeforeSkip, Set<Integer> skippedPartsIndexes)
public byte[] writeClassOnly(ORecord iSource)
public void toString(ORecord iRecord, OJSONWriter json, String iFormat, boolean iOnlyDelta, boolean autoDetectCollectionType)
public StringBuilder toString(ORecord iRecord, StringBuilder iOutput, String iFormat, boolean iOnlyDelta, boolean autoDetectCollectionType)
toString
in class ORecordSerializerStringAbstract
public String getName()
Copyright © 2009–2020 OrientDB. All rights reserved.