Class SplitClassification.Builder

    • Method Detail

      • id

        public SplitClassification.TypeStage id​(@NotNull
                                                java.lang.String id)

        Unique identifier for the classification. We recommend lowercase, underscore-separated format.

        Unique identifier for the classification. We recommend lowercase, underscore-separated format.

        Specified by:
        id in interface SplitClassification.IdStage
        Returns:
        Reference to this so that method calls can be chained together.
      • identifierKey

        public SplitClassification._FinalStage identifierKey​(java.lang.String identifierKey)

        A natural-language rule describing how to extract a unique identifier for subdocuments of this type. For example, "Extract the invoice number from the document header".

        When provided, the splitter will extract the specified identifier for each subdocument of this type and include it in the output as the identifier field. This enables merging of related subdocuments that share the same extracted identifier.

        Availability: Supported on splitting_light >= 1.3.0 and splitting_performance >= 1.5.0. If provided on older versions, this field is accepted but ignored.

        Specified by:
        identifierKey in interface SplitClassification._FinalStage
        Returns:
        Reference to this so that method calls can be chained together.
      • identifierKey

        public SplitClassification._FinalStage identifierKey​(java.util.Optional<java.lang.String> identifierKey)

        A natural-language rule describing how to extract a unique identifier for subdocuments of this type. For example, "Extract the invoice number from the document header".

        When provided, the splitter will extract the specified identifier for each subdocument of this type and include it in the output as the identifier field. This enables merging of related subdocuments that share the same extracted identifier.

        Availability: Supported on splitting_light >= 1.3.0 and splitting_performance >= 1.5.0. If provided on older versions, this field is accepted but ignored.

        Specified by:
        identifierKey in interface SplitClassification._FinalStage