Package | Description |
---|---|
com.tangosol.io.pof.reflect |
Contains classes related to POF stream navigation and manipulation.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractPofValue
An abstract base class that implements common functionality for all
PofValue types.
|
class |
ComplexPofValue
An abstract base class for complex POF types, such as collections, arrays,
maps, and user types.
|
class |
PofArray
PofArray is a
PofValue implementation for arrays. |
class |
PofCollection
PofCollection is
PofValue implementation for collections. |
class |
PofSparseArray
PofSparseArray is
PofValue implementation for sparse arrays. |
protected static class |
PofSparseArray.NilPofValue
NilPofValue represents a value that does not exist in the original POF stream.
|
class |
PofUniformArray
PofUniformArray is
PofValue implementation for uniform arrays. |
class |
PofUniformCollection
PofUniformCollection is
PofValue implementation for uniform collections. |
class |
PofUniformSparseArray
PofUniformSparseArray is
PofValue implementation for uniform sparse
arrays. |
class |
PofUserType
PofUserType is
PofValue implementation for user types. |
class |
SimplePofValue
SimplePofValue represents POF values which do not contain children (e.g.
|
Modifier and Type | Method and Description |
---|---|
protected PofValue |
ComplexPofValue.extractChild(ReadBuffer buf,
int of,
int cb)
Extract child PofValue from a buffer.
|
protected PofValue |
ComplexPofValue.findChild(int nIndex)
Find the child value with the specified index.
|
protected abstract PofValue |
ComplexPofValue.findChildInternal(int nIndex,
int ofStart,
int iStart)
Find the child value with the specified index.
|
protected PofValue |
PofArray.findChildInternal(int nIndex,
int ofStart,
int iStart)
Find the child value with the specified index.
|
protected PofValue |
PofSparseArray.findChildInternal(int nIndex,
int ofStart,
int iStart)
Find the child value with the specified index.
|
PofValue |
ComplexPofValue.getChild(int nIndex)
Locate a child PofValue contained within this PofValue.
|
PofValue |
PofValue.getChild(int nIndex)
Locate a child PofValue contained within this PofValue.
|
PofValue |
SimplePofValue.getChild(int nIndex)
Locate a child PofValue contained within this PofValue.
|
PofValue |
AbstractPofValue.getParent()
Return the parent of this value.
|
PofValue |
PofValue.getParent()
Return the parent of this value.
|
PofValue |
AbstractPofValue.getRoot()
Return the root of the hierarchy this value belongs to.
|
PofValue |
PofValue.getRoot()
Return the root of the hierarchy this value belongs to.
|
protected static PofValue |
PofValueParser.instantiatePofValue(PofValue valueParent,
int nType,
ReadBuffer bufValue,
PofContext ctx,
int of,
ReadBuffer.BufferInput in)
Creates a PofValue instance.
|
protected PofValue |
AbstractPofValue.lookupIdentity(int nId)
Look up the specified identity and return the PofValue to which it
refers.
|
PofValue |
AbstractPofPath.navigate(PofValue valueOrigin)
Locate the
PofValue identified by this PofNavigator within the
passed PofValue. |
PofValue |
PofNavigator.navigate(PofValue valueOrigin)
Locate the
PofValue identified by this PofNavigator within the
passed PofValue. |
static PofValue |
PofValueParser.parse(ReadBuffer buf,
PofContext ctx)
Parses POF-encoded binary and returns an instance of a
PofValue
wrapper for it. |
protected static PofValue |
PofValueParser.parseUniformValue(PofValue valueParent,
int nType,
ReadBuffer bufValue,
PofContext ctx,
int of)
Parses a uniform POF-encoded binary and returns an instance of a
PofValue wrapping the binary. |
protected static PofValue |
PofValueParser.parseValue(PofValue valueParent,
ReadBuffer bufValue,
PofContext ctx,
int of)
Parse a POF-encoded binary and return an instance of a
PofValue
wrapping the binary. |
Modifier and Type | Method and Description |
---|---|
protected static PofValue |
PofValueParser.instantiatePofValue(PofValue valueParent,
int nType,
ReadBuffer bufValue,
PofContext ctx,
int of,
ReadBuffer.BufferInput in)
Creates a PofValue instance.
|
PofValue |
AbstractPofPath.navigate(PofValue valueOrigin)
Locate the
PofValue identified by this PofNavigator within the
passed PofValue. |
PofValue |
PofNavigator.navigate(PofValue valueOrigin)
Locate the
PofValue identified by this PofNavigator within the
passed PofValue. |
protected static PofValue |
PofValueParser.parseUniformValue(PofValue valueParent,
int nType,
ReadBuffer bufValue,
PofContext ctx,
int of)
Parses a uniform POF-encoded binary and returns an instance of a
PofValue wrapping the binary. |
protected static PofValue |
PofValueParser.parseValue(PofValue valueParent,
ReadBuffer bufValue,
PofContext ctx,
int of)
Parse a POF-encoded binary and return an instance of a
PofValue
wrapping the binary. |
Constructor and Description |
---|
AbstractPofValue(PofValue valueParent,
ReadBuffer bufValue,
PofContext ctx,
int of,
int nType)
Construct a PofValue instance wrapping the supplied buffer.
|
ComplexPofValue(PofValue valueParent,
ReadBuffer bufValue,
PofContext ctx,
int of,
int nType,
int ofChildren)
Construct a PofValue instance wrapping the supplied buffer.
|
NilPofValue(PofValue valueParent,
PofContext ctx,
int of,
int nType,
int nIndex)
Construct a NilPofValue instance.
|
PofArray(PofValue valueParent,
ReadBuffer bufValue,
PofContext ctx,
int of,
int nType,
int ofChildren,
int cElements)
Construct a PofArray instance wrapping the supplied buffer.
|
PofCollection(PofValue valueParent,
ReadBuffer bufValue,
PofContext ctx,
int of,
int nType,
int ofChildren,
int cElements)
Construct a PofCollection instance wrapping the supplied buffer.
|
PofSparseArray(PofValue valueParent,
ReadBuffer bufValue,
PofContext ctx,
int of,
int nType,
int ofChildren)
Construct a PofSparseArray instance wrapping the supplied buffer.
|
PofUniformArray(PofValue valueParent,
ReadBuffer bufValue,
PofContext ctx,
int of,
int nType,
int ofChildren,
int cElements,
int nElementType)
Construct a PofUniformArray instance wrapping the supplied buffer.
|
PofUniformCollection(PofValue valueParent,
ReadBuffer bufValue,
PofContext ctx,
int of,
int nType,
int ofChildren,
int cElements,
int nElementType)
Construct a PofUniformCollection instance wrapping the supplied buffer.
|
PofUniformSparseArray(PofValue valueParent,
ReadBuffer bufValue,
PofContext ctx,
int of,
int nType,
int ofChildren,
int nElementType)
Construct a PofUniformSparseArray instance wrapping the supplied buffer.
|
PofUserType(PofValue valueParent,
ReadBuffer bufValue,
PofContext ctx,
int of,
int nType,
int ofChildren,
int nVersion)
Construct a PofUserType instance wrapping the supplied buffer.
|
SimplePofValue(PofValue valueParent,
ReadBuffer bufValue,
PofContext ctx,
int of,
int nType)
Construct a SimplePofValue instance wrapping the supplied buffer.
|