java.lang.Object
com.google.flatbuffers.Table
org.apache.arrow.flatbuf.SparseMatrixIndexCSX
public final class SparseMatrixIndexCSX
extends com.google.flatbuffers.Table
Compressed Sparse format, that is matrix-specific.
- 
Nested Class SummaryNested Classes
- 
Field SummaryFields inherited from class com.google.flatbuffers.Tablebb, bb_pos
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescription__assign(int _i, ByteBuffer _bb) void__init(int _i, ByteBuffer _bb) static voidaddCompressedAxis(com.google.flatbuffers.FlatBufferBuilder builder, short compressedAxis) static voidaddIndicesBuffer(com.google.flatbuffers.FlatBufferBuilder builder, int indicesBufferOffset) static voidaddIndicesType(com.google.flatbuffers.FlatBufferBuilder builder, int indicesTypeOffset) static voidaddIndptrBuffer(com.google.flatbuffers.FlatBufferBuilder builder, int indptrBufferOffset) static voidaddIndptrType(com.google.flatbuffers.FlatBufferBuilder builder, int indptrTypeOffset) shortWhich axis, row or column, is compressedstatic intendSparseMatrixIndexCSX(com.google.flatbuffers.FlatBufferBuilder builder) static SparseMatrixIndexCSXstatic SparseMatrixIndexCSXindicesBuffer stores the location and size of the array that contains the column indices of the corresponding non-zero values.indicesBuffer(Buffer obj) The type of values in indicesBufferindicesType(Int obj) indptrBuffer stores the location and size of indptr array that represents the range of the rows.indptrBuffer(Buffer obj) The type of values in indptrBufferindptrType(Int obj) static voidstartSparseMatrixIndexCSX(com.google.flatbuffers.FlatBufferBuilder builder) static voidMethods inherited from class com.google.flatbuffers.Table__has_identifier, __indirect, __indirect, __offset, __offset, __reset, __reset, __string, __string, __union, __union, __vector, __vector_as_bytebuffer, __vector_in_bytebuffer, __vector_len, compareStrings, compareStrings, getByteBuffer, keysCompare, sortTables
- 
Constructor Details- 
SparseMatrixIndexCSXpublic SparseMatrixIndexCSX()
 
- 
- 
Method Details- 
ValidateVersionpublic static void ValidateVersion()
- 
getRootAsSparseMatrixIndexCSX
- 
getRootAsSparseMatrixIndexCSXpublic static SparseMatrixIndexCSX getRootAsSparseMatrixIndexCSX(ByteBuffer _bb, SparseMatrixIndexCSX obj) 
- 
__init
- 
__assign
- 
compressedAxispublic short compressedAxis()Which axis, row or column, is compressed
- 
indptrTypeThe type of values in indptrBuffer
- 
indptrType
- 
indptrBufferindptrBuffer stores the location and size of indptr array that represents the range of the rows. The i-th row spans from `indptr[i]` to `indptr[i+1]` in the data. The length of this array is 1 + (the number of rows), and the type of index value is long. For example, let X be the following 6x4 matrix: ```text X := [[0, 1, 2, 0], [0, 0, 3, 0], [0, 4, 0, 5], [0, 0, 0, 0], [6, 0, 7, 8], [0, 9, 0, 0]]. ``` The array of non-zero values in X is: ```text values(X) = [1, 2, 3, 4, 5, 6, 7, 8, 9]. ``` And the indptr of X is: ```text indptr(X) = [0, 2, 3, 5, 5, 8, 10]. ```
- 
indptrBuffer
- 
indicesTypeThe type of values in indicesBuffer
- 
indicesType
- 
indicesBufferindicesBuffer stores the location and size of the array that contains the column indices of the corresponding non-zero values. The type of index value is long. For example, the indices of the above X is: ```text indices(X) = [1, 2, 2, 1, 3, 0, 2, 3, 1]. ``` Note that the indices are sorted in lexicographical order for each row.
- 
indicesBuffer
- 
startSparseMatrixIndexCSXpublic static void startSparseMatrixIndexCSX(com.google.flatbuffers.FlatBufferBuilder builder) 
- 
addCompressedAxispublic static void addCompressedAxis(com.google.flatbuffers.FlatBufferBuilder builder, short compressedAxis) 
- 
addIndptrTypepublic static void addIndptrType(com.google.flatbuffers.FlatBufferBuilder builder, int indptrTypeOffset) 
- 
addIndptrBufferpublic static void addIndptrBuffer(com.google.flatbuffers.FlatBufferBuilder builder, int indptrBufferOffset) 
- 
addIndicesTypepublic static void addIndicesType(com.google.flatbuffers.FlatBufferBuilder builder, int indicesTypeOffset) 
- 
addIndicesBufferpublic static void addIndicesBuffer(com.google.flatbuffers.FlatBufferBuilder builder, int indicesBufferOffset) 
- 
endSparseMatrixIndexCSXpublic static int endSparseMatrixIndexCSX(com.google.flatbuffers.FlatBufferBuilder builder) 
 
-