Class DataTypeDetection


  • public class DataTypeDetection
    extends Object
    This class represents a special Adapter Property for JDBC-based Virtual Schemas controlling the strategy for determining data types for IMPORT statement.
    • Field Detail

      • STRATEGY_PROPERTY

        public static final String STRATEGY_PROPERTY
        Name of the Adapter Property to be passed to CREATE VIRTUAL SCHEMA
        See Also:
        Constant Field Values
    • Method Detail

      • getValidator

        public static PropertyValidator getValidator()
        Returns:
        validator for the property controlling the strategy for data type detection.
      • strategies

        public static <T> T strategies​(Collector<CharSequence,​?,​T> collector)
        Type Parameters:
        T - Type of strategy
        Parameters:
        collector - collector to collect the strategies
        Returns:
        result of collecting the strategies