Class MetadataResponse


  • public class MetadataResponse
    extends java.lang.Object
    This class stores all the information required for answering a server metadata fetch request.
    • Constructor Detail

      • MetadataResponse

        public MetadataResponse()
    • Method Detail

      • setVersionMetadata

        public void setVersionMetadata​(VersionProperties versionProperties)
      • setVersions

        public void setVersions​(java.util.List<java.lang.Integer> versions)
      • setKeySchema

        public void setKeySchema​(java.util.Map<java.lang.CharSequence,​java.lang.CharSequence> keySchema)
      • setValueSchemas

        public void setValueSchemas​(java.util.Map<java.lang.CharSequence,​java.lang.CharSequence> valueSchemas)
      • setLatestSuperSetValueSchemaId

        public void setLatestSuperSetValueSchemaId​(int latestSuperSetValueSchemaId)
      • setRoutingInfo

        public void setRoutingInfo​(java.util.Map<java.lang.CharSequence,​java.util.List<java.lang.CharSequence>> routingInfo)
      • setHelixGroupInfo

        public void setHelixGroupInfo​(java.util.Map<java.lang.CharSequence,​java.lang.Integer> helixGroupInfo)
      • setBatchGetLimit

        public void setBatchGetLimit​(int batchGetLimit)
      • getResponseBody

        public io.netty.buffer.ByteBuf getResponseBody()
      • getResponseSchemaIdHeader

        public int getResponseSchemaIdHeader()
      • setError

        public void setError​(boolean error)
      • isError

        public boolean isError()
      • setMessage

        public void setMessage​(java.lang.String message)
      • getMessage

        public java.lang.String getMessage()