Class Base64BinaryItem

java.lang.Object
org.rumbledb.items.AbstractAtomicItem
org.rumbledb.items.Base64BinaryItem
All Implemented Interfaces:
Serializable, Item

public class Base64BinaryItem extends AbstractAtomicItem
See Also:
  • Constructor Details

    • Base64BinaryItem

      public Base64BinaryItem(String stringValue)
  • Method Details

    • copy

      public Item copy(boolean mutable)
      Description copied from interface: Item
      Makes a copy.
      Parameters:
      mutable - whether the copy should be mutable (if supported by the item).
      Returns:
      a copy
    • isBinary

      public boolean isBinary()
      Description copied from interface: Item
      Tests whether the item is an atomic item of type base64Binary or hexBinary.
      Returns:
      true if it is an atomic item of type base64Binary or hexBinary, false otherwise.
    • getBinaryValue

      public byte[] getBinaryValue()
      Description copied from interface: Item
      Returns the byte[] value of the item, if it is an atomic item of type hexBinary or Base64Binary.
      Returns:
      the binary value as an array of bytes.
    • getStringValue

      public String getStringValue()
      Description copied from interface: Item
      Returns the string value of the item, if it is an atomic item.
      Returns:
      the string value.
    • getVariantValue

      public Object getVariantValue()
      Description copied from interface: Item
      Returns the Object containing the converted value of the item for a DataFrame. For use to build Variant columns.
      Returns:
      Object representing the converted value of the item.
    • getEffectiveBooleanValue

      public boolean getEffectiveBooleanValue()
      Description copied from interface: Item
      Returns the effective boolean value of the item, if atomic.
      Returns:
      the effective boolean value.
    • isBase64Binary

      public boolean isBase64Binary()
      Description copied from interface: Item
      Tests whether the item is an atomic item of type base64Binary.
      Returns:
      true if it is an atomic item of type base64Binary, false otherwise.
    • getDynamicType

      public ItemType getDynamicType()
      Description copied from interface: Item
      Returns the dynamic type of the item (only for error message purposes).
      Returns:
      the dynamic type as an item type.
    • isAtomic

      public boolean isAtomic()
      Description copied from interface: Item
      Tests whether the item is an atomic item.
      Returns:
      true if it is an atomic item, false otherwise.