Interface Metadata.MetadataEntry

  • Enclosing interface:
    Metadata

    public static interface Metadata.MetadataEntry
    A metadata entry.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      java.nio.ByteBuffer getBinaryValue()
      The binary value for the metadata entry.
      String getKey()
      The key for the metadata entry.
      String getValue()
      The string value for the metadata entry.
      boolean isBinary()
      Whether this entry is a binary entry.
      boolean isText()
      Whether this entry is a text entry.
    • Method Detail

      • getKey

        String getKey()
        The key for the metadata entry.

        The key will be in the original case it was inserted or sent as.

        Returns:
        The key.
      • getValue

        String getValue()
        The string value for the metadata entry.
        Returns:
        The string value, or null if this entry is not a string Metadata entry.
      • getBinaryValue

        java.nio.ByteBuffer getBinaryValue()
        The binary value for the metadata entry.
        Returns:
        The binary value, or null if this entry is not a string Metadata entry.
      • isText

        boolean isText()
        Whether this entry is a text entry.
        Returns:
        True if this entry is a text entry.
      • isBinary

        boolean isBinary()
        Whether this entry is a binary entry.
        Returns:
        True if this entry is a binary entry.