Class SchemaValidation

java.lang.Object
com.jerolba.carpet.impl.read.SchemaValidation

public class SchemaValidation extends Object
  • Constructor Details

    • SchemaValidation

      public SchemaValidation(boolean failOnMissingColumn, boolean strictNumericType, boolean failOnNullForPrimitives)
  • Method Details

    • validateMissingColumn

      public boolean validateMissingColumn(String name, com.jerolba.carpet.impl.read.ColumnPath column)
    • validatePrimitiveCompatibility

      public boolean validatePrimitiveCompatibility(org.apache.parquet.schema.PrimitiveType primitiveType, Class<?> javaType)
    • validateNullability

      public boolean validateNullability(org.apache.parquet.schema.Type parquetType, RecordComponent recordComponent)
    • isBasicSupportedType

      public static boolean isBasicSupportedType(JavaType type)
    • isThreeLevel

      public static boolean isThreeLevel(org.apache.parquet.schema.Type child)
    • hasMapShape

      public static boolean hasMapShape(org.apache.parquet.schema.GroupType rootGroup)