public final class Schema extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
Schema.Type |
| Constructor and Description |
|---|
Schema() |
| Modifier and Type | Method and Description |
|---|---|
Schema |
addAllProperties(Iterable<KeyValue> properties) |
KeyValue |
addProperty() |
Schema |
clear() |
Schema |
clearName() |
Schema |
clearProperties() |
Schema |
clearSchemaData() |
Schema |
clearType() |
Schema |
copyFrom(Schema _other) |
String |
getName() |
int |
getPropertiesCount() |
List<KeyValue> |
getPropertiesList() |
KeyValue |
getPropertyAt(int idx) |
byte[] |
getSchemaData() |
int |
getSchemaDataSize() |
io.netty.buffer.ByteBuf |
getSchemaDataSlice() |
int |
getSerializedSize() |
Schema.Type |
getType() |
boolean |
hasName() |
boolean |
hasSchemaData() |
boolean |
hasType() |
void |
parseFrom(byte[] a) |
void |
parseFrom(io.netty.buffer.ByteBuf _buffer,
int _size) |
Schema |
setName(String name) |
Schema |
setSchemaData(byte[] schemaData) |
Schema |
setSchemaData(io.netty.buffer.ByteBuf schemaData) |
Schema |
setType(Schema.Type type) |
byte[] |
toByteArray() |
int |
writeTo(io.netty.buffer.ByteBuf _b) |
public boolean hasName()
public String getName()
public Schema clearName()
public boolean hasSchemaData()
public int getSchemaDataSize()
public byte[] getSchemaData()
public io.netty.buffer.ByteBuf getSchemaDataSlice()
public Schema setSchemaData(byte[] schemaData)
public Schema setSchemaData(io.netty.buffer.ByteBuf schemaData)
public Schema clearSchemaData()
public boolean hasType()
public Schema.Type getType()
public Schema setType(Schema.Type type)
public Schema clearType()
public int getPropertiesCount()
public KeyValue getPropertyAt(int idx)
public KeyValue addProperty()
public Schema clearProperties()
public int writeTo(io.netty.buffer.ByteBuf _b)
public int getSerializedSize()
public void parseFrom(io.netty.buffer.ByteBuf _buffer,
int _size)
public Schema clear()
public byte[] toByteArray()
public void parseFrom(byte[] a)
Copyright © 2017–2022 Apache Software Foundation. All rights reserved.