Package io.objectbox.flatbuffers
Class StringVector
- java.lang.Object
-
- io.objectbox.flatbuffers.BaseVector
-
- io.objectbox.flatbuffers.StringVector
-
public final class StringVector extends BaseVector
Helper type for accessing vector of String.
-
-
Field Summary
-
Fields inherited from class io.objectbox.flatbuffers.BaseVector
bb
-
-
Constructor Summary
Constructors Constructor Description StringVector()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringVector
__assign(int _vector, int _element_size, java.nio.ByteBuffer _bb)
Assigns vector access object to vector data.java.lang.String
get(int j)
Reads the String at the given index.
-
-
-
Method Detail
-
__assign
public StringVector __assign(int _vector, int _element_size, java.nio.ByteBuffer _bb)
Assigns vector access object to vector data.- Parameters:
_vector
- Start data of a vector._element_size
- Size of a vector element._bb
- Table's ByteBuffer.- Returns:
- Returns current vector access object assigned to vector data whose offset is stored at `vector`.
-
get
public java.lang.String get(int j)
Reads the String at the given index.- Parameters:
j
- The index from which the String value will be read.- Returns:
- the String at the given index.
-
-