|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.lucene.facet.search.FacetArrays
public class FacetArrays
Provider of arrays used for facet operations such as counting.
| Constructor Summary | |
|---|---|
FacetArrays(IntArrayAllocator intArrayAllocator,
FloatArrayAllocator floatArrayAllocator)
Create a FacetArrays with certain array allocators. |
|
| Method Summary | |
|---|---|
void |
free()
Notify allocators that they can free arrays allocated on behalf of this FacetArrays object. |
int |
getArraysLength()
Return the arrays length |
float[] |
getFloatArray()
Obtain a float array, e.g. |
int[] |
getIntArray()
Obtain an int array, e.g. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public FacetArrays(IntArrayAllocator intArrayAllocator,
FloatArrayAllocator floatArrayAllocator)
intArrayAllocator - allocator for int arrays.floatArrayAllocator - allocator for float arrays.| Method Detail |
|---|
public void free()
public int[] getIntArray()
public float[] getFloatArray()
public int getArraysLength()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||