Class ScriptDocValues.BytesRefs
<E>
<T>
org.elasticsearch.index.fielddata.ScriptDocValues<T>
org.elasticsearch.index.fielddata.ScriptDocValues.BytesRefs
- All Implemented Interfaces:
<org.apache.lucene.util.BytesRef>
,<org.apache.lucene.util.BytesRef>
,<org.apache.lucene.util.BytesRef>
- Enclosing class:
- ScriptDocValues<T>
-
Nested Class Summary
Nested classes/interfaces inherited from class org.elasticsearch.index.fielddata.ScriptDocValues
ScriptDocValues.Booleans, ScriptDocValues.BytesRefs, ScriptDocValues.Dates, ScriptDocValues.Doubles, ScriptDocValues.Geometry<T>, ScriptDocValues.GeoPoints, ScriptDocValues.Longs, ScriptDocValues.Strings
-
Field Summary
Modifier and TypeFieldDescriptionprotected int
protected org.apache.lucene.util.BytesRefBuilder[]
Fields inherited from class java.util.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionorg.apache.lucene.util.BytesRef
get(int index)
org.apache.lucene.util.BytesRef
getValue()
protected void
resize(int newSize)
Set the and ensure that thevalues
array can store at least that many entries.void
setNextDocId(int docId)
Set the current doc ID.int
size()
Methods inherited from class org.elasticsearch.index.fielddata.ScriptDocValues
add, remove, replaceAll, set, sort
Methods inherited from class java.util.
, , , , , , , , , , , ,
Methods inherited from class java.util.
, , , , , , , ,
Methods inherited from class java.lang.
, , , , , , ,
Methods inherited from interface java.util.
, , ,
Methods inherited from interface java.lang.
Methods inherited from interface java.util.
, , , , , , , ,
-
Field Details
-
values
protected org.apache.lucene.util.BytesRefBuilder[] values -
count
protected int count
-
-
Constructor Details
-
BytesRefs
-
-
Method Details
-
get
public org.apache.lucene.util.BytesRef get(int index)- Specified by:
in interface
<org.apache.lucene.util.BytesRef>
- Specified by:
in class
<org.apache.lucene.util.BytesRef>
-
getValue
public org.apache.lucene.util.BytesRef getValue() -
setNextDocId
public void setNextDocId(int docId) throwsDescription copied from class:ScriptDocValues
Set the current doc ID.- Specified by:
setNextDocId
in classScriptDocValues<T>
- Throws:
-
resize
protected void resize(int newSize)Set the and ensure that thevalues
array can store at least that many entries. -
size
public int size()- Specified by:
in interface
<T>
- Specified by:
in interface
<T>
- Specified by:
in class
<T>
-