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