org.compass.needle.gigaspaces.store
Class FileBucketEntry
java.lang.Object
org.compass.needle.gigaspaces.store.FileBucketEntry
- All Implemented Interfaces:
- Externalizable, Serializable, net.jini.core.entry.Entry
public class FileBucketEntry
- extends Object
- implements net.jini.core.entry.Entry, Externalizable
A file bucket entry holds a bucket (part) of the file content.
- Author:
- kimchy
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
indexName
public String indexName
fileName
public String fileName
bucketIndex
public Long bucketIndex
data
public byte[] data
FileBucketEntry
public FileBucketEntry()
FileBucketEntry
public FileBucketEntry(String indexName,
String fileName)
FileBucketEntry
public FileBucketEntry(String indexName,
String fileName,
long bucketIndex,
byte[] data)
getIndexName
public String getIndexName()
getFileName
public String getFileName()
getData
public byte[] getData()
writeExternal
public void writeExternal(ObjectOutput out)
throws IOException
- Specified by:
writeExternal in interface Externalizable
- Throws:
IOException
readExternal
public void readExternal(ObjectInput in)
throws IOException,
ClassNotFoundException
- Specified by:
readExternal in interface Externalizable
- Throws:
IOException
ClassNotFoundException
__getSpaceIndexedFields
public static String[] __getSpaceIndexedFields()
Copyright (c) 2004-2008 The Compass Project.