public class ProtoBufInputRowParser extends Object implements io.druid.data.input.ByteBufferInputRowParser
Constructor and Description |
---|
ProtoBufInputRowParser(io.druid.data.input.impl.ParseSpec parseSpec,
String descriptorFileInClasspath) |
Modifier and Type | Method and Description |
---|---|
io.druid.data.input.impl.ParseSpec |
getParseSpec() |
io.druid.data.input.InputRow |
parse(ByteBuffer input) |
ProtoBufInputRowParser |
withParseSpec(io.druid.data.input.impl.ParseSpec parseSpec) |
public ProtoBufInputRowParser(io.druid.data.input.impl.ParseSpec parseSpec, String descriptorFileInClasspath)
public io.druid.data.input.impl.ParseSpec getParseSpec()
getParseSpec
in interface io.druid.data.input.impl.InputRowParser<ByteBuffer>
public ProtoBufInputRowParser withParseSpec(io.druid.data.input.impl.ParseSpec parseSpec)
withParseSpec
in interface io.druid.data.input.ByteBufferInputRowParser
withParseSpec
in interface io.druid.data.input.impl.InputRowParser<ByteBuffer>
public io.druid.data.input.InputRow parse(ByteBuffer input)
parse
in interface io.druid.data.input.impl.InputRowParser<ByteBuffer>
Copyright © 2011–2015. All rights reserved.