类 Schema
java.lang.Object
org.apache.pulsar.common.api.proto.Schema
-
嵌套类概要
嵌套类 -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明addAllProperties(Iterable<KeyValue> properties) clear()getName()intgetPropertyAt(int idx) byte[]intio.netty.buffer.ByteBufintgetType()booleanhasName()booleanbooleanhasType()voidparseFrom(byte[] a) voidparseFrom(io.netty.buffer.ByteBuf _buffer, int _size) setSchemaData(byte[] schemaData) setSchemaData(io.netty.buffer.ByteBuf schemaData) setType(Schema.Type type) byte[]intwriteTo(io.netty.buffer.ByteBuf _b)
-
构造器详细资料
-
Schema
public Schema()
-
-
方法详细资料
-
hasName
public boolean hasName() -
getName
-
setName
-
clearName
-
hasSchemaData
public boolean hasSchemaData() -
getSchemaDataSize
public int getSchemaDataSize() -
getSchemaData
public byte[] getSchemaData() -
getSchemaDataSlice
public io.netty.buffer.ByteBuf getSchemaDataSlice() -
setSchemaData
-
setSchemaData
-
clearSchemaData
-
hasType
public boolean hasType() -
getType
-
setType
-
clearType
-
getPropertiesCount
public int getPropertiesCount() -
getPropertyAt
-
getPropertiesList
-
addProperty
-
addAllProperties
-
clearProperties
-
writeTo
public int writeTo(io.netty.buffer.ByteBuf _b) -
getSerializedSize
public int getSerializedSize() -
parseFrom
public void parseFrom(io.netty.buffer.ByteBuf _buffer, int _size) -
clear
-
copyFrom
-
toByteArray
public byte[] toByteArray() -
parseFrom
public void parseFrom(byte[] a)
-