Package | Description |
---|---|
com.persistit |
Implements Persistit™'s core functionality.
|
com.persistit.encoding |
Modifier and Type | Class and Description |
---|---|
class |
DefaultObjectCoder
An
ObjectCoder that uses reflection to access the properties and/or
fields of an object. |
Modifier and Type | Method and Description |
---|---|
KeyCoder |
DefaultCoderManager.lookupKeyCoder(Class<?> clazz)
Returns the
KeyCoder registered for the supplied
Class , or null if no KeyCoder is
registered. |
KeyCoder |
DefaultCoderManager.registerKeyCoder(Class<?> clazz,
KeyCoder coder)
Associates a
KeyCoder with a Class that it will
encode. |
KeyCoder |
DefaultCoderManager.unregisterKeyCoder(Class<?> clazz)
Removes any
KeyCoder registered for the supplied
Class |
Modifier and Type | Method and Description |
---|---|
Map<Class<?>,KeyCoder> |
DefaultCoderManager.getRegisteredKeyCoders()
Create a
Map of Class es to registered
KeyCoder s. |
Modifier and Type | Method and Description |
---|---|
KeyCoder |
DefaultCoderManager.registerKeyCoder(Class<?> clazz,
KeyCoder coder)
Associates a
KeyCoder with a Class that it will
encode. |
int |
DefaultCoderManager.unregisterKeyCoder(KeyCoder coder)
Unregisters the supplied
KeyCoder from all
Class es it was previously registered to handle. |
Modifier and Type | Interface and Description |
---|---|
interface |
KeyDisplayer
An extension of
KeyCoder that adds the KeyDisplayer.displayKeySegment(com.persistit.Key, java.lang.Appendable, java.lang.Class<?>, com.persistit.encoding.CoderContext)
method. |
interface |
KeyRenderer
|
interface |
ObjectCoder
Combines the
KeyCoder , KeyRenderer , ValueCoder and
ValueRenderer into a single interface that allows Persistit to store
and retrieve arbitrary objects - even non-Serializable objects - without
byte-code enhancement, without incurring the space or time overhead of Java
serialization, or the need to modify the class to perform custom
serialization. |
Modifier and Type | Method and Description |
---|---|
KeyCoder |
CoderManager.lookupKeyCoder(Class<?> clazz)
Returns the
KeyCoder registered for the supplied
Class , or null if no KeyCoder is
registered. |
KeyCoder |
CoderManager.registerKeyCoder(Class<?> clazz,
KeyCoder coder)
Register the provided
KeyCoder to encode and decode
instances of supplied class. |
KeyCoder |
CoderManager.unregisterKeyCoder(Class<?> clazz)
Remove the registered
KeyCoder for the supplied class. |
Modifier and Type | Method and Description |
---|---|
Map<Class<?>,? extends KeyCoder> |
CoderManager.getRegisteredKeyCoders()
Create a
Map of Class es to registered
KeyCoder s. |
Modifier and Type | Method and Description |
---|---|
KeyCoder |
CoderManager.registerKeyCoder(Class<?> clazz,
KeyCoder coder)
Register the provided
KeyCoder to encode and decode
instances of supplied class. |
int |
CoderManager.unregisterKeyCoder(KeyCoder coder)
Remove the supplied
KeyCoder from all classes to which it
was previously registered. |
Copyright © 2025 Open Identity Platform Community. All rights reserved.