|
Xindice API version 1.2m1 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.xindice.core.meta.inline.NullReader
Read metadata of length zero. Handy for comparing performance of the metadata-free database with a database using the metadata machinery but containing no metadata.
Nested Class Summary | |
static class |
NullReader.NullMap
A VERY simple and efficient InlineMetaMap implementation that holds precisely nothing. |
Constructor Summary | |
NullReader()
|
Method Summary | |
int |
getVersion()
The second byte of the header contains the version. |
InlineMetaMap |
read(Value data)
When a header is read, it generates a Map
containing the attributes carried by the header. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public NullReader()
Method Detail |
public int getVersion()
InlineMetaReader
getVersion
in interface InlineMetaReader
InlineMetaReader.getVersion()
public InlineMetaMap read(Value data) throws InlineMetaException
InlineMetaReader
Map
containing the attributes carried by the header.
read
in interface InlineMetaReader
data
- Value object in which the header is embedded
InlineMetaException
- if the header data is corrupted or of
the wrong lengthInlineMetaReader.read(Value)
|
Xindice API version 1.2m1 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |