Class ColumnSchema<E extends TableSchema<E>,​D>

    • Constructor Detail

    • Method Detail

      • fromJson

        public static <E extends TableSchema<E>,​D> ColumnSchema<E,​D> fromJson​(String name,
                                                                                          com.fasterxml.jackson.databind.JsonNode json)
      • getName

        public String getName()
      • opGreaterThan

        public Condition opGreaterThan​(D data)
      • opLesserThan

        public Condition opLesserThan​(D data)
      • opLesserThanOrEquals

        public Condition opLesserThanOrEquals​(D data)
      • opIncludes

        public Condition opIncludes​(D data)
      • opExcludes

        public Condition opExcludes​(D data)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • validate

        public D validate​(Object value)
        Validates the passed in value against the constraints set for this ColumnSchema.
      • validateType

        public void validateType​(Class<?> typeClass)
        Verifies if this Column if of the specified type.
        Parameters:
        typeClass - the type to check for
      • valueFromJson

        public D valueFromJson​(com.fasterxml.jackson.databind.JsonNode value)
      • getNormalizeData

        public Object getNormalizeData​(D value)