|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.opends.server.backends.jeb.DataConfig
public class DataConfig
Configuration class to indicate desired compression and cryptographic options for the data stored in the database.
Constructor Summary | |
---|---|
DataConfig(boolean compressed,
boolean compactEncoding,
JECompressedSchema compressedSchema)
Constrct a new DataConfig object with the specified settings. |
Method Summary | |
---|---|
EntryEncodeConfig |
getEntryEncodeConfig()
Get the EntryEncodeConfig object in use by this configuration. |
boolean |
isCompactEncoding()
Determine whether entries should be encoded with the compact form before writing to the database. |
boolean |
isCompressed()
Determine whether data should be compressed before writing to the database. |
void |
setCompactEncoding(boolean compactEncoding,
JECompressedSchema compressedSchema)
Configure whether data should be encoded with the compact form before writing to the database. |
void |
setCompressed(boolean compressed)
Configure whether data should be compressed before writing to the database. |
java.lang.String |
toString()
Get a string representation of this object. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public DataConfig(boolean compressed, boolean compactEncoding, JECompressedSchema compressedSchema)
compressed
- true if data should be compressed, false if not.compactEncoding
- true if data should be encoded in compact form,
false if not.compressedSchema
- the compressed schema manager to use. It must not
be null
if compactEncoding is true
.Method Detail |
---|
public boolean isCompressed()
public boolean isCompactEncoding()
public void setCompressed(boolean compressed)
compressed
- true if data should be compressed, false if not.public void setCompactEncoding(boolean compactEncoding, JECompressedSchema compressedSchema)
compactEncoding
- true if data should be encoded in compact form,
false if not.compressedSchema
- The compressed schema manager to use. It must not
be null
if compactEncoding is true
.public EntryEncodeConfig getEntryEncodeConfig()
public java.lang.String toString()
toString
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |