Interface AlternateKey.Builder

    • Method Detail

      • allowDuplicates

        AlternateKey.Builder allowDuplicates​(Boolean allowDuplicates)

        Indicates whether the alternate key values are supposed to be unique for the given data set.

        Parameters:
        allowDuplicates - Indicates whether the alternate key values are supposed to be unique for the given data set.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • length

        AlternateKey.Builder length​(Integer length)

        A strictly positive integer value representing the length of the alternate key.

        Parameters:
        length - A strictly positive integer value representing the length of the alternate key.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • name

        AlternateKey.Builder name​(String name)

        The name of the alternate key.

        Parameters:
        name - The name of the alternate key.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • offset

        AlternateKey.Builder offset​(Integer offset)

        A positive integer value representing the offset to mark the start of the alternate key part in the record byte array.

        Parameters:
        offset - A positive integer value representing the offset to mark the start of the alternate key part in the record byte array.
        Returns:
        Returns a reference to this object so that method calls can be chained together.