Class SchemaRoutes
- java.lang.Object
-
- com.linkedin.venice.controller.server.AbstractRoute
-
- com.linkedin.venice.controller.server.SchemaRoutes
-
public class SchemaRoutes extends AbstractRoute
-
-
Constructor Summary
Constructors Constructor Description SchemaRoutes(boolean sslEnabled, java.util.Optional<DynamicAccessController> accessController)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description spark.Route
addDerivedSchema(Admin admin)
spark.Route
addValueSchema(Admin admin)
Route to handle adding value schema request.spark.Route
getAllReplicationMetadataSchemas(Admin admin)
spark.Route
getAllValueAndDerivedSchema(Admin admin)
spark.Route
getAllValueSchema(Admin admin)
Route to handle retrieving all value schema for a given store.spark.Route
getKeySchema(Admin admin)
Route to handle retrieving key schema request.spark.Route
getValueOrDerivedSchemaID(Admin admin)
spark.Route
getValueSchema(Admin admin)
Route to handle retrieving value schema by id.spark.Route
getValueSchemaID(Admin admin)
Route to handle retrieving schema id by schema.spark.Route
removeDerivedSchema(Admin admin)
-
Methods inherited from class com.linkedin.venice.controller.server.AbstractRoute
getCertificate, getPrincipalId, hasAccessToStore, hasReadAccessToTopic, hasWriteAccessToTopic, isAclEnabled, isAllowListUser, isSslEnabled
-
-
-
-
Constructor Detail
-
SchemaRoutes
public SchemaRoutes(boolean sslEnabled, java.util.Optional<DynamicAccessController> accessController)
-
-
Method Detail
-
getKeySchema
public spark.Route getKeySchema(Admin admin)
Route to handle retrieving key schema request.- See Also:
Admin.getKeySchema(String, String)
-
addValueSchema
public spark.Route addValueSchema(Admin admin)
Route to handle adding value schema request.
-
addDerivedSchema
public spark.Route addDerivedSchema(Admin admin)
-
getValueSchema
public spark.Route getValueSchema(Admin admin)
Route to handle retrieving value schema by id.
-
getValueSchemaID
public spark.Route getValueSchemaID(Admin admin)
Route to handle retrieving schema id by schema.
-
getValueOrDerivedSchemaID
public spark.Route getValueOrDerivedSchemaID(Admin admin)
-
getAllValueSchema
public spark.Route getAllValueSchema(Admin admin)
Route to handle retrieving all value schema for a given store.- See Also:
Admin.getValueSchemas(String, String)
-
getAllValueAndDerivedSchema
public spark.Route getAllValueAndDerivedSchema(Admin admin)
-
removeDerivedSchema
public spark.Route removeDerivedSchema(Admin admin)
-
getAllReplicationMetadataSchemas
public spark.Route getAllReplicationMetadataSchemas(Admin admin)
-
-