Package com.yahoo.search.result
Interface Hit.RawUtf8Consumer
-
- All Superinterfaces:
java.util.function.BiConsumer<java.lang.String,java.lang.Object>
- All Known Implementing Classes:
JsonRenderer.FieldConsumer
- Enclosing class:
- Hit
public static interface Hit.RawUtf8Consumer extends java.util.function.BiConsumer<java.lang.String,java.lang.Object>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
accept(java.lang.String fieldName, byte[] utf8Data, int offset, int length)
Called for fields which are available as UTF-8 instead of accept(String, Object).
-
-
-
Method Detail
-
accept
void accept(java.lang.String fieldName, byte[] utf8Data, int offset, int length)
Called for fields which are available as UTF-8 instead of accept(String, Object).- Parameters:
fieldName
- the name of the fieldutf8Data
- raw utf-8 data. The receiver must not modify this dataoffset
- the start index in the utf8Data array of the data to acceptlength
- the length starting from offset in the utf8Data array of the data to accept
-
-