- All Known Implementing Classes:
GraphTransaction.Reader
,ModificationQueue.Applier
,PersistenceInputDecorator
,PersistenceInputStream
,SQLGraphReader
,SQLPersistenceReader
,Transaction.Reader
,XAQueue.Reader
,XMLGraphReader
,XMLPersistenceReader
,XMLRootlessGraphReader
public interface PersistenceInput
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
-
Method Summary
Modifier and TypeMethodDescriptionboolean
int
boolean
beginComponent
(ManageableType.ArrayComponent c, int index) beginField
(ManageableType type, ManageableType.Field field) void
endArray()
void
void
endField()
void
int
boolean
byte
readByte()
char
readChar()
double
float
int
readInt()
long
readLong()
readName()
readObject
(int kind, Type type) long
short
int
int
resolveId
(long inputId) void
setNested
(boolean nested)
-
Field Details
-
PLAIN_OBJECT
static final int PLAIN_OBJECT- See Also:
-
NULL_OBJECT
static final int NULL_OBJECT- See Also:
-
STRING_OBJECT
static final int STRING_OBJECT- See Also:
-
SERIALIZED_OBJECT
static final int SERIALIZED_OBJECT- See Also:
-
MANAGEABLE_OBJECT
static final int MANAGEABLE_OBJECT- See Also:
-
SHARED_OBJECT_REFERENCE
static final int SHARED_OBJECT_REFERENCE- See Also:
-
PERSISTENT_OBJECT_ID
static final int PERSISTENT_OBJECT_ID- See Also:
-
ARRAY_OBJECT
static final int ARRAY_OBJECT- See Also:
-
MIN_UNUSED_KIND
static final int MIN_UNUSED_KIND- See Also:
-
-
Method Details
-
getBindings
PersistenceBindings getBindings() -
readBoolean
- Throws:
IOException
-
readByte
- Throws:
IOException
-
readUnsignedByte
- Throws:
IOException
-
readShort
- Throws:
IOException
-
readUnsignedShort
- Throws:
IOException
-
readChar
- Throws:
IOException
-
readInt
- Throws:
IOException
-
readLong
- Throws:
IOException
-
readFloat
- Throws:
IOException
-
readDouble
- Throws:
IOException
-
readName
- Throws:
IOException
-
readString
- Throws:
IOException
-
getNextObjectKind
- Throws:
IOException
-
readObject
- Throws:
IOException
-
readPersistentObjectId
- Throws:
IOException
-
readPersistentObject
- Throws:
IOException
-
beginArray
- Throws:
IOException
-
beginComponent
- Throws:
IOException
-
endComponent
- Throws:
IOException
-
endArray
- Throws:
IOException
-
beginManaged
- Throws:
IOException
-
areFieldsProvided
boolean areFieldsProvided() -
beginField
- Throws:
IOException
-
endField
- Throws:
IOException
-
endManaged
- Throws:
IOException
-
setNested
void setNested(boolean nested) -
resolveId
-