org.apache.xindice.core.meta.inline
Class NullWriter
java.lang.Object
|
+--org.apache.xindice.core.meta.inline.NullWriter
- All Implemented Interfaces:
- InlineMetaWriter
- public class NullWriter
- extends Object
- implements InlineMetaWriter
Write metadata of length zero. Handy for comparing performance
of the metadata-free database with a database using the metadata
machinery but containing no metadata.
- Version:
- $Revision: 511426 $, $Date: 2007-02-24 22:25:02 -0500 (Sat, 24 Feb 2007) $
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NullWriter
public NullWriter()
getVersion
public int getVersion()
- Description copied from interface:
InlineMetaWriter
- The header version created by the implementing writer.
- Specified by:
getVersion
in interface InlineMetaWriter
- See Also:
InlineMetaWriter.getVersion()
getMetadata
public byte[] getMetadata(InlineMetaMap map)
throws InlineMetaException
- Description copied from interface:
InlineMetaWriter
- Create the metadata. The contents are drawn from the map.
- Specified by:
getMetadata
in interface InlineMetaWriter
- See Also:
InlineMetaWriter.getMetadata(InlineMetaMap)
Copyright (c) 1999-2007 The Apache Software Foundation. All Rights Reserved.