public abstract class Validation
extends java.lang.Object
Constructor and Description |
---|
Validation() |
Modifier and Type | Method and Description |
---|---|
static void |
validateKey(TableMetadata metadata,
java.nio.ByteBuffer key)
Validates a (full serialized) partition key.
|
public static void validateKey(TableMetadata metadata, java.nio.ByteBuffer key)
metadata
- the metadata for the table of which to check the key.key
- the serialized partition key to check.InvalidRequestException
- if the provided key
is invalid.Copyright © 2009-2021 The Apache Software Foundation