Class MetadataResponse

java.lang.Object
com.linkedin.davinci.listener.response.MetadataResponse

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

    • MetadataResponse

      public MetadataResponse()
  • Method Details

    • setVersionMetadata

      public void setVersionMetadata(VersionProperties versionProperties)
    • setVersions

      public void setVersions(List<Integer> versions)
    • setKeySchema

      public void setKeySchema(Map<CharSequence,CharSequence> keySchema)
    • setValueSchemas

      public void setValueSchemas(Map<CharSequence,CharSequence> valueSchemas)
    • setLatestSuperSetValueSchemaId

      public void setLatestSuperSetValueSchemaId(int latestSuperSetValueSchemaId)
    • setRoutingInfo

      public void setRoutingInfo(Map<CharSequence,List<CharSequence>> routingInfo)
    • setHelixGroupInfo

      public void setHelixGroupInfo(Map<CharSequence,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(String message)
    • getMessage

      public String getMessage()
    • getResponseRecord

      public MetadataResponseRecord getResponseRecord()