Class MetadataResponse
- java.lang.Object
-
- com.linkedin.davinci.listener.response.MetadataResponse
-
public class MetadataResponse extends java.lang.Object
This class stores all the information required for answering a server metadata fetch request.
-
-
Constructor Summary
Constructors Constructor Description MetadataResponse()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getMessage()
io.netty.buffer.ByteBuf
getResponseBody()
MetadataResponseRecord
getResponseRecord()
int
getResponseSchemaIdHeader()
boolean
isError()
void
setBatchGetLimit(int batchGetLimit)
void
setError(boolean error)
void
setHelixGroupInfo(java.util.Map<java.lang.CharSequence,java.lang.Integer> helixGroupInfo)
void
setKeySchema(java.util.Map<java.lang.CharSequence,java.lang.CharSequence> keySchema)
void
setLatestSuperSetValueSchemaId(int latestSuperSetValueSchemaId)
void
setMessage(java.lang.String message)
void
setRoutingInfo(java.util.Map<java.lang.CharSequence,java.util.List<java.lang.CharSequence>> routingInfo)
void
setValueSchemas(java.util.Map<java.lang.CharSequence,java.lang.CharSequence> valueSchemas)
void
setVersionMetadata(VersionProperties versionProperties)
void
setVersions(java.util.List<java.lang.Integer> versions)
-
-
-
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()
-
getResponseRecord
public MetadataResponseRecord getResponseRecord()
-
-