public interface ColumnParser<V>
SliceInput which contains byte array
to a specific data type. For example, parse 4 bytes to an Integer.| 限定符和类型 | 方法和说明 |
|---|---|
V |
readFrom(SliceInput input,
Column column)
Read value from byte array input.
|
V |
readFrom(SliceInput input,
int len,
String charset)
Read value from byte array input with length and charset.
|
void |
skipFrom(SliceInput input,
Column column)
For row-oriented columnar storage format, there should be a way to
skip value from byte array input.
|
void |
skipFrom(SliceInput input,
int len,
String charset)
For row-oriented columnar storage format, there should be a way to
skip value from byte array input with length and charset,
|
Class<?> |
typeClass()
Returned value class.
|
V readFrom(SliceInput input, int len, String charset)
input - slice inputlen - lengthcharset - charsetV readFrom(SliceInput input, Column column)
input - slice inputcolumn - columnvoid skipFrom(SliceInput input, int len, String charset)
input - slice inputlen - lengthcharset - charsetvoid skipFrom(SliceInput input, Column column)
input - slice inputcolumn - columnClass<?> typeClass()
Copyright © 2019–2020 Alibaba Group Holding Limited. All rights reserved.