Enum Prop

    • Enum Constant Detail

      • HYBRID

        public static final Prop HYBRID
        Boolean property "hybrid" controls whether to try to create a hybrid execution plan that uses Apache Calcite relational algebra wherever possible. Default is false.
      • INLINE_PASS_COUNT

        public static final Prop INLINE_PASS_COUNT
        Maximum number of inlining passes.
      • MATCH_COVERAGE_ENABLED

        public static final Prop MATCH_COVERAGE_ENABLED
        Boolean property "matchCoverageEnabled" controls whether to check the coverage of patterns. If true (the default), Morel warns if patterns are redundant and gives errors if patterns are not exhaustive. If false, Morel does not analyze pattern coverage, and therefore will not give warnings or errors.
      • OPTIONAL_INT

        public static final Prop OPTIONAL_INT
        Integer property "optionalInt" is for testing. Default is null.
      • PRINT_DEPTH

        public static final Prop PRINT_DEPTH
        Integer property "printDepth" controls printing. The depth of nesting of recursive data structure at which ellipsis begins.

        It is based upon the "printDepth" property in the PRINTCONTROL signature of the Standard Basis Library. Default is 5.

      • PRINT_LENGTH

        public static final Prop PRINT_LENGTH
        Integer property "printLength" controls printing. The length of lists at which ellipsis begins.

        It is based upon the "printLength" property in the PRINTCONTROL signature of the Standard Basis Library. Default is 12.

      • RELATIONALIZE

        public static final Prop RELATIONALIZE
        Boolean property "relationalize" is whether to convert to relational algebra. Default is false.
      • STRING_DEPTH

        public static final Prop STRING_DEPTH
        Integer property "stringDepth" is the length of strings at which ellipsis begins.

        It is based upon the "stringDepth" property in the PRINTCONTROL signature of the Standard Basis Library. Default is 70.

      • LINE_WIDTH

        public static final Prop LINE_WIDTH
        Integer property "lineWidth" controls printing. The length at which lines are wrapped.

        It is based upon the "linewidth" property in the PRINTCONTROL signature of the Standard Basis Library. Default is 79.

    • Field Detail

      • camelName

        public final String camelName
      • type

        private final Class<?> type
      • defaultValue

        private final Object defaultValue
      • BY_NAME

        public static final com.google.common.collect.ImmutableMap<String,​Prop> BY_NAME
    • Constructor Detail

    • Method Detail

      • values

        public static Prop[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (Prop c : Prop.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static Prop valueOf​(String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null
      • lookup

        public static Prop lookup​(String propName)
        Looks up a property by name. Throws if not found; never returns null.
      • booleanValue

        public boolean booleanValue​(Map<Prop,​Object> map)
        Returns the value of a boolean property.
      • intValue

        public int intValue​(Map<Prop,​Object> map)
        Returns the value of an integer property.
      • typeValue

        private <T> T typeValue​(Object o)
      • set

        public void set​(Map<Prop,​Object> map,
                        Object value)
        Sets the value of a property. Checks that its type is valid.
      • remove

        public Object remove​(Map<Prop,​Object> map)
        Removes the value of this property from a map, returning the previous value or null.