public abstract class ORecordSerializerStringAbstract extends Object implements ORecordSerializer, Serializable
Constructor and Description |
---|
ORecordSerializerStringAbstract() |
Modifier and Type | Method and Description |
---|---|
static Object |
convertValue(String iValue,
OType iExpectedType) |
static Object |
fieldTypeFromStream(ODocument iDocument,
OType iType,
Object iValue) |
static void |
fieldTypeToString(StringBuilder iBuffer,
OType iType,
Object iValue) |
ORecord |
fromStream(byte[] iSource,
ORecord iRecord,
String[] iFields) |
ORecord |
fromString(String iSource) |
abstract ORecord |
fromString(String iContent,
ORecord iRecord,
String[] iFields) |
String[] |
getFieldNames(ODocument reference,
byte[] iSource) |
boolean |
getSupportBinaryEvaluate() |
static OType |
getType(String iValue)
Parses a string returning the closer type.
|
static OType |
getType(String iValue,
char iCharType)
Parses the field type char returning the closer type.
|
static Object |
getTypeValue(String iValue)
Parses a string returning the value with the closer type.
|
static Object |
simpleValueFromStream(Object iValue,
OType iType) |
static void |
simpleValueToStream(StringBuilder iBuffer,
OType iType,
Object iValue) |
byte[] |
toStream(ORecord iRecord) |
StringBuilder |
toString(ORecord iRecord,
StringBuilder iOutput,
String iFormat) |
protected abstract StringBuilder |
toString(ORecord iRecord,
StringBuilder iOutput,
String iFormat,
boolean autoDetectCollectionType) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getCurrentVersion, getMinSupportedVersion, getName
protected static final OProfiler PROFILER
public static Object fieldTypeFromStream(ODocument iDocument, OType iType, Object iValue)
public static void fieldTypeToString(StringBuilder iBuffer, OType iType, Object iValue)
public static OType getType(String iValue)
iValue
- Value to parsepublic static OType getType(String iValue, char iCharType)
iValue
- Value to parseiCharType
- Char value indicating the typepublic static Object getTypeValue(String iValue)
iValue
- Value to parsepublic static void simpleValueToStream(StringBuilder iBuffer, OType iType, Object iValue)
public StringBuilder toString(ORecord iRecord, StringBuilder iOutput, String iFormat)
public String[] getFieldNames(ODocument reference, byte[] iSource)
getFieldNames
in interface ORecordSerializer
public ORecord fromStream(byte[] iSource, ORecord iRecord, String[] iFields)
fromStream
in interface ORecordSerializer
public byte[] toStream(ORecord iRecord)
toStream
in interface ORecordSerializer
protected abstract StringBuilder toString(ORecord iRecord, StringBuilder iOutput, String iFormat, boolean autoDetectCollectionType)
public boolean getSupportBinaryEvaluate()
getSupportBinaryEvaluate
in interface ORecordSerializer
Copyright © 2009–2020 OrientDB. All rights reserved.