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

java.lang.Object
org.opendaylight.ovsdb.lib.schema.ColumnSchema<E,D>

public class ColumnSchema<E extends TableSchema<E>,D> extends Object
  • Constructor Details

  • Method Details

    • fromJson

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

      public String getName()
    • getType

      public ColumnType getType()
    • opEqual

      public Condition opEqual(D data)
    • 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)
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • hashCode

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

      public boolean equals(Object obj)
      Overrides:
      equals 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)