use of org.apache.druid.segment.transform.TransformingInputEntityReader in project druid by druid-io.
the class SettableByteEntityReader method setEntity.
void setEntity(ByteEntity entity) {
InputFormat format = (inputFormat instanceof JsonInputFormat) ? ((JsonInputFormat) inputFormat).withLineSplittable(false) : inputFormat;
this.delegate = new TransformingInputEntityReader(// This should be fine as long as initializing a reader is cheap which it is for now.
format.createReader(inputRowSchema, entity, indexingTmpDir), transformer);
}
Aggregations