public class Validator extends Object
Constructor and Description |
---|
Validator() |
Modifier and Type | Method and Description |
---|---|
static void |
compareDictionaries(List<DictionaryEncoding> encodings1,
List<DictionaryEncoding> encodings2,
DictionaryProvider provider1,
DictionaryProvider provider2)
Validate two Dictionary encodings and dictionaries with id's from the encodings.
|
static void |
compareDictionaryProviders(DictionaryProvider provider1,
DictionaryProvider provider2)
Validate two dictionary providers are equal in structure and contents.
|
static void |
compareFieldVectors(FieldVector vector1,
FieldVector vector2)
Validate two arrow FieldVectors are equal.
|
static void |
compareSchemas(Schema schema1,
Schema schema2)
Validate two arrow schemas are equal.
|
static void |
compareVectorSchemaRoot(VectorSchemaRoot root1,
VectorSchemaRoot root2)
Validate two arrow vectorSchemaRoot are equal.
|
public static void compareSchemas(Schema schema1, Schema schema2)
schema1
- the 1st schema to compareschema2
- the 2nd schema to compareIllegalArgumentException
- if they are different.public static void compareDictionaries(List<DictionaryEncoding> encodings1, List<DictionaryEncoding> encodings2, DictionaryProvider provider1, DictionaryProvider provider2)
public static void compareDictionaryProviders(DictionaryProvider provider1, DictionaryProvider provider2)
public static void compareVectorSchemaRoot(VectorSchemaRoot root1, VectorSchemaRoot root2)
root1
- the 1st schema to compareroot2
- the 2nd schema to compareIllegalArgumentException
- if they are different.public static void compareFieldVectors(FieldVector vector1, FieldVector vector2)
vector1
- the 1st VectorField to comparevector2
- the 2nd VectorField to compareIllegalArgumentException
- if they are differentCopyright © 2024 The Apache Software Foundation. All rights reserved.