Package org.terrier.structures
Class FieldDocumentIndexEntry.Factory
- java.lang.Object
-
- org.terrier.structures.BasicDocumentIndexEntry.Factory
-
- org.terrier.structures.FieldDocumentIndexEntry.Factory
-
- All Implemented Interfaces:
FixedSizeWriteableFactory<DocumentIndexEntry>
,WriteableFactory<DocumentIndexEntry>
- Enclosing class:
- FieldDocumentIndexEntry
public static class FieldDocumentIndexEntry.Factory extends BasicDocumentIndexEntry.Factory
Factory for creating a field document index entry
-
-
Field Summary
Fields Modifier and Type Field Description protected int
fieldCount
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getSize()
Returns 17?DocumentIndexEntry
newInstance()
Creates a document index entry
-
-
-
Method Detail
-
getSize
public int getSize()
Description copied from class:BasicDocumentIndexEntry.Factory
Returns 17?- Specified by:
getSize
in interfaceFixedSizeWriteableFactory<DocumentIndexEntry>
- Overrides:
getSize
in classBasicDocumentIndexEntry.Factory
-
newInstance
public DocumentIndexEntry newInstance()
Description copied from class:BasicDocumentIndexEntry.Factory
Creates a document index entry- Specified by:
newInstance
in interfaceWriteableFactory<DocumentIndexEntry>
- Overrides:
newInstance
in classBasicDocumentIndexEntry.Factory
-
-