Class PolybaseSettings


  • public final class PolybaseSettings
    extends Object
    PolyBase settings.
    • Constructor Detail

      • PolybaseSettings

        public PolybaseSettings()
    • Method Detail

      • rejectType

        public PolybaseSettingsRejectType rejectType()
        Get the rejectType property: Reject type.
        Returns:
        the rejectType value.
      • withRejectType

        public PolybaseSettings withRejectType​(PolybaseSettingsRejectType rejectType)
        Set the rejectType property: Reject type.
        Parameters:
        rejectType - the rejectType value to set.
        Returns:
        the PolybaseSettings object itself.
      • rejectValue

        public Object rejectValue()
        Get the rejectValue property: Specifies the value or the percentage of rows that can be rejected before the query fails. Type: number (or Expression with resultType number), minimum: 0.
        Returns:
        the rejectValue value.
      • withRejectValue

        public PolybaseSettings withRejectValue​(Object rejectValue)
        Set the rejectValue property: Specifies the value or the percentage of rows that can be rejected before the query fails. Type: number (or Expression with resultType number), minimum: 0.
        Parameters:
        rejectValue - the rejectValue value to set.
        Returns:
        the PolybaseSettings object itself.
      • rejectSampleValue

        public Object rejectSampleValue()
        Get the rejectSampleValue property: Determines the number of rows to attempt to retrieve before the PolyBase recalculates the percentage of rejected rows. Type: integer (or Expression with resultType integer), minimum: 0.
        Returns:
        the rejectSampleValue value.
      • withRejectSampleValue

        public PolybaseSettings withRejectSampleValue​(Object rejectSampleValue)
        Set the rejectSampleValue property: Determines the number of rows to attempt to retrieve before the PolyBase recalculates the percentage of rejected rows. Type: integer (or Expression with resultType integer), minimum: 0.
        Parameters:
        rejectSampleValue - the rejectSampleValue value to set.
        Returns:
        the PolybaseSettings object itself.
      • useTypeDefault

        public Object useTypeDefault()
        Get the useTypeDefault property: Specifies how to handle missing values in delimited text files when PolyBase retrieves data from the text file. Type: boolean (or Expression with resultType boolean).
        Returns:
        the useTypeDefault value.
      • withUseTypeDefault

        public PolybaseSettings withUseTypeDefault​(Object useTypeDefault)
        Set the useTypeDefault property: Specifies how to handle missing values in delimited text files when PolyBase retrieves data from the text file. Type: boolean (or Expression with resultType boolean).
        Parameters:
        useTypeDefault - the useTypeDefault value to set.
        Returns:
        the PolybaseSettings object itself.
      • additionalProperties

        public Map<String,​Object> additionalProperties()
        Get the additionalProperties property: PolyBase settings.
        Returns:
        the additionalProperties value.
      • withAdditionalProperties

        public PolybaseSettings withAdditionalProperties​(Map<String,​Object> additionalProperties)
        Set the additionalProperties property: PolyBase settings.
        Parameters:
        additionalProperties - the additionalProperties value to set.
        Returns:
        the PolybaseSettings object itself.
      • validate

        public void validate()
        Validates the instance.
        Throws:
        IllegalArgumentException - thrown if the instance is not valid.