Package org.apache.lucene.index.memory
Class MemoryIndex.SliceByteStartArray
- java.lang.Object
-
- org.apache.lucene.util.BytesRefHash.BytesStartArray
-
- org.apache.lucene.util.BytesRefHash.DirectBytesStartArray
-
- org.apache.lucene.index.memory.MemoryIndex.SliceByteStartArray
-
- Enclosing class:
- MemoryIndex
private static final class MemoryIndex.SliceByteStartArray extends BytesRefHash.DirectBytesStartArray
-
-
Field Summary
Fields Modifier and Type Field Description (package private) int[]end(package private) int[]freq(package private) int[]start-
Fields inherited from class org.apache.lucene.util.BytesRefHash.DirectBytesStartArray
initSize
-
-
Constructor Summary
Constructors Constructor Description SliceByteStartArray(int initSize)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int[]clear()clears theBytesRefHash.BytesStartArrayand returns the cleared instance.int[]grow()Grows theBytesRefHash.BytesStartArrayint[]init()Initializes the BytesStartArray.-
Methods inherited from class org.apache.lucene.util.BytesRefHash.DirectBytesStartArray
bytesUsed
-
-
-
-
Method Detail
-
init
public int[] init()
Description copied from class:BytesRefHash.BytesStartArrayInitializes the BytesStartArray. This call will allocate memory- Overrides:
initin classBytesRefHash.DirectBytesStartArray- Returns:
- the initialized bytes start array
-
grow
public int[] grow()
Description copied from class:BytesRefHash.BytesStartArrayGrows theBytesRefHash.BytesStartArray- Overrides:
growin classBytesRefHash.DirectBytesStartArray- Returns:
- the grown array
-
clear
public int[] clear()
Description copied from class:BytesRefHash.BytesStartArrayclears theBytesRefHash.BytesStartArrayand returns the cleared instance.- Overrides:
clearin classBytesRefHash.DirectBytesStartArray- Returns:
- the cleared instance, this might be
null
-
-