Package org.apache.druid.data.input
Class InputRowListPlusRawValues
java.lang.Object
org.apache.druid.data.input.InputRowListPlusRawValues
A triple of a list of
InputRows, a Map of raw values, and a ParseException.
The rawValues map contains the raw values before being parsed into InputRows. Note that a single map can be parsed
into multiple InputRows, for example, with explodeSpec.
The ParseException is the exception thrown when parsing bytes into either the rawValues map or the list of InputRows.
In any case, one of triple must not be null.-
Method Summary
Modifier and TypeMethodDescriptionThis method is left here only for test casesstatic InputRowListPlusRawValuesstatic InputRowListPlusRawValuesof(Map<String, Object> rawColumns, ParseException parseException) static InputRowListPlusRawValuesstatic InputRowListPlusRawValuesCreate an instance ofInputRowListPlusRawValuesMake sure the size of given rawColumnsList and inputRows are the same if both of them are not nullstatic InputRowListPlusRawValuesofList(List<Map<String, Object>> rawColumnsList, List<InputRow> inputRows, ParseException parseException) Create an instance ofInputRowListPlusRawValuesMake sure the size of given rawColumnsList and inputRows are the same if both of them are not nullstatic InputRowListPlusRawValues
-
Method Details
-
of
public static InputRowListPlusRawValues of(@Nullable InputRow inputRow, Map<String, Object> rawColumns) -
of
-
of
public static InputRowListPlusRawValues of(@Nullable Map<String, Object> rawColumns, ParseException parseException) -
ofList
public static InputRowListPlusRawValues ofList(@Nullable List<Map<String, Object>> rawColumnsList, ParseException parseException) -
ofList
public static InputRowListPlusRawValues ofList(@Nullable List<Map<String, Object>> rawColumnsList, @Nullable List<InputRow> inputRows) Create an instance ofInputRowListPlusRawValuesMake sure the size of given rawColumnsList and inputRows are the same if both of them are not null -
ofList
public static InputRowListPlusRawValues ofList(@Nullable List<Map<String, Object>> rawColumnsList, @Nullable List<InputRow> inputRows, @Nullable ParseException parseException) Create an instance ofInputRowListPlusRawValuesMake sure the size of given rawColumnsList and inputRows are the same if both of them are not null -
getInputRows
-
getRawValues
This method is left here only for test cases -
getRawValuesList
-
getParseException
-