Class SplitAdvancedOptions


  • public final class SplitAdvancedOptions
    extends java.lang.Object
    • Method Detail

      • getSplitIdentifierRules

        public java.util.Optional<java.lang.String> getSplitIdentifierRules()
        Returns:
        Custom rules for identifying split points.

        Deprecated: For splitting_light >= 1.3.0 and splitting_performance >= 1.5.0, use the identifierKey field on each classification in splitClassifications instead. This provides per-type identifier extraction rules rather than a single global rule. On those versions, this field is accepted but ignored if provided.

      • getSplitMethod

        public java.util.Optional<SplitAdvancedOptionsSplitMethod> getSplitMethod()
        Returns:
        The method to use for splitting documents. high_precision is more accurate but slower, while basic_precision is faster but less precise.

        Deprecated: For splitting_light >= 1.3.0 and splitting_performance >= 1.5.0, this field has no impact and is ignored if provided. It is still accepted for compatibility with older integrations.

      • getSplitExcelDocumentsBySheetEnabled

        public java.util.Optional<java.lang.Boolean> getSplitExcelDocumentsBySheetEnabled()
        Returns:
        For Excel documents, split by worksheet.
      • getPageRanges

        public java.util.Optional<java.util.List<PageRangesItem>> getPageRanges()
      • getPageOverlapEnabled

        public java.util.Optional<java.lang.Boolean> getPageOverlapEnabled()
        Returns:
        When enabled, the splitter will allow for page overlap when splitting a document such that a page can occur in multiple adjacent splits when context from the previous split is on the page and context from the next split is on the page.
      • equals

        public boolean equals​(java.lang.Object other)
        Overrides:
        equals in class java.lang.Object
      • getAdditionalProperties

        public java.util.Map<java.lang.String,​java.lang.Object> getAdditionalProperties()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object