Package | Description |
---|---|
com.persistit |
Implements Persistit™'s core functionality.
|
com.persistit.encoding |
Modifier and Type | Field and Description |
---|---|
protected Value |
StreamLoader._value |
static Value |
Value.EMPTY_VALUE
A Value that is always EMPTY - i.e., for which
isDefined()
is always false. |
Modifier and Type | Method and Description |
---|---|
Value |
Value.clear()
Remove all content from this
Value . |
Value |
ReadOnlyExchange.getValue()
Return the
Value associated with this Exchange . |
Value |
Exchange.getValue()
Return the
Value associated with this Exchange . |
Modifier and Type | Method and Description |
---|---|
void |
ValueState.copyTo(Value value)
Copies the content of this
ValueState to the supplied
Value . |
void |
Value.copyTo(Value target)
Copy the state of this
Value to another Value . |
protected boolean |
TreeBuilder.duplicateKeyDetected(Tree tree,
Key key,
Value v1,
Value v2)
This method may be extended to provide application-specific behavior when
an attempt is made to merge records with duplicate keys.
|
Exchange |
Exchange.fetch(Value value)
Fetches the value associated with the current
Key into the
supplied Value object (instead of the Exchange
's assigned Value ). |
Exchange |
Exchange.fetch(Value value,
int minimumBytes)
Fetches or partially fetches the value associated with the current
Key into the supplied Value object (instead of
the Exchange 's assigned Value ). |
Object |
DefaultValueCoder.get(Value value,
Class clazz,
CoderContext context)
Creates an instance of the supplied class, populates its state by
decoding the supplied
Value , and returns it. |
protected void |
StreamLoader.ImportHandler.handleDataRecord(Key key,
Value value) |
void |
DefaultValueCoder.put(Value value,
Object object,
CoderContext context)
Encodes the supplied
Object into the supplied
Value . |
void |
DefaultValueCoder.putDefaultFields(Value value,
Object object)
Writes the fields of the supplied object to the supplied
Value . |
void |
DefaultValueCoder.render(Value value,
Object target,
Class clazz,
CoderContext context)
Populates the state of the supplied (mutable) target
Object
by decoding the supplied Value . |
void |
TreeBuilder.store(Tree tree,
Key key,
Value value)
Store a key-value pair for a specified
Tree into a sort
tree. |
protected void |
StreamSaver.writeData(Key key,
Value value)
Writes a key/value pair into a DATA record.
|
Constructor and Description |
---|
Value(Value source)
Construct a new
Value that represents the same data as the
source. |
ValueState(Value value)
Construct an immutable
ValueState by copying the relevant
state information from a Value . |
ValueState(Value value,
int truncateSize)
Construct an immutable
ValueState by copying the relevant
state information from a Value . |
Modifier and Type | Method and Description |
---|---|
void |
ValueDisplayer.display(Value value,
StringBuilder target,
Class<?> clazz,
CoderContext context)
Writes a String representation of the value into a supplied
StringBuilder . |
void |
CollectionValueCoder.display(Value value,
StringBuilder target,
Class<?> clazz,
CoderContext context)
Writes a String representation of the value into a supplied
StringBuilder . |
Object |
ValueCoder.get(Value value,
Class<?> clazz,
CoderContext context)
Creates an instance of the supplied class, populates its state by
decoding the supplied
Value , and returns it. |
Object |
SerialValueCoder.get(Value value,
Class<?> clazz,
CoderContext context)
Creates an instance of the supplied class, populates its state by
decoding the supplied
Value using standard Java
serialization, and returns it. |
Object |
CollectionValueCoder.get(Value value,
Class<?> clazz,
CoderContext context)
Creates an instance of the supplied class, populates its state by
decoding the supplied
Value , and returns it. |
Object |
EnumValueCoder.get(Value value,
Class clazz,
CoderContext context)
Creates an instance of the supplied class, populates its state by
decoding the supplied
Value , and returns it. |
void |
ValueCoder.put(Value value,
Object object,
CoderContext context)
Encodes the supplied
Object into the supplied
Value . |
void |
SerialValueCoder.put(Value value,
Object object,
CoderContext context)
Encodes the supplied
Object into the supplied
Value using standard Java serialization. |
void |
EnumValueCoder.put(Value value,
Object object,
CoderContext context)
Encodes the supplied
Object into the supplied
Value . |
void |
CollectionValueCoder.put(Value value,
Object object,
CoderContext context)
Encodes the supplied
Object into the supplied
Value . |
void |
ValueRenderer.render(Value value,
Object target,
Class<?> clazz,
CoderContext context)
Populates the state of the supplied (mutable) target
Object
by decoding the supplied Value . |
void |
CollectionValueCoder.render(Value value,
Object target,
Class clazz,
CoderContext context)
Populates the state of the supplied (mutable) target
Object
by decoding the supplied Value . |
Copyright © 2025 Open Identity Platform Community. All rights reserved.