mirror of https://github.com/apache/druid.git
fix protobuf impl and docs
This commit is contained in:
parent
0a5bb909a2
commit
9c74993559
|
@ -88,7 +88,7 @@ If `type` is not included, the parser defaults to `string`.
|
||||||
|
|
||||||
| Field | Type | Description | Required |
|
| Field | Type | Description | Required |
|
||||||
|-------|------|-------------|----------|
|
|-------|------|-------------|----------|
|
||||||
| type | String | This should say `protoBuf`. | no |
|
| type | String | This should say `protobuf`. | no |
|
||||||
| parseSpec | JSON Object | Specifies the format of the data. | yes |
|
| parseSpec | JSON Object | Specifies the format of the data. | yes |
|
||||||
|
|
||||||
### ParseSpec
|
### ParseSpec
|
||||||
|
|
|
@ -38,7 +38,7 @@ import static com.google.protobuf.DescriptorProtos.FileDescriptorSet;
|
||||||
import static com.google.protobuf.Descriptors.Descriptor;
|
import static com.google.protobuf.Descriptors.Descriptor;
|
||||||
import static com.google.protobuf.Descriptors.FileDescriptor;
|
import static com.google.protobuf.Descriptors.FileDescriptor;
|
||||||
|
|
||||||
@JsonTypeName("protoBuf")
|
@JsonTypeName("protobuf")
|
||||||
public class ProtoBufInputRowParser implements ByteBufferInputRowParser
|
public class ProtoBufInputRowParser implements ByteBufferInputRowParser
|
||||||
{
|
{
|
||||||
private static final Logger log = new Logger(ProtoBufInputRowParser.class);
|
private static final Logger log = new Logger(ProtoBufInputRowParser.class);
|
||||||
|
|
Loading…
Reference in New Issue