Class FieldBuilder

java.lang.Object
org.moeaframework.analysis.store.schema.FieldBuilder

public class FieldBuilder extends Object
Builder for constructing fields of specific types.
  • Method Details

    • asInt

      public Field<Integer> asInt()
      Builds and returns a field storing an integer value.
      Returns:
      the field
    • asLong

      public Field<Long> asLong()
      Builds and returns a field storing a long value.
      Returns:
      the field
    • asDecimal

      public Field<Double> asDecimal()
      Builds and returns a field storing a decial value.
      Returns:
      the field
    • asString

      public Field<String> asString()
      Builds and returns a field storing a string value.
      Returns:
      the field