public static interface Hit.RawUtf8Consumer extends BiConsumer<String,Object>
Modifier and Type | Method and Description |
---|---|
void |
accept(String fieldName,
byte[] utf8Data,
int offset,
int length)
Called for fields which are available as UTF-8 instead of accept(String, Object).
|
accept, andThen
void accept(String fieldName, byte[] utf8Data, int offset, int length)
fieldName
- the name of the fieldutf8Data
- raw utf-8 data. The reciver must not modify this dataoffset
- the start index of the data to accept into the utf8Data arraylength
- the length of the data to accept into the utf8Data arrayCopyright © 2018. All rights reserved.