Class BytesConversionFcts.FromBlobFunction

All Implemented Interfaces:
AssignmentTestable, Function, ScalarFunction
Enclosing class:
BytesConversionFcts

public static class BytesConversionFcts.FromBlobFunction extends NativeScalarFunction
  • Constructor Details

    • FromBlobFunction

      public FromBlobFunction(CQL3Type toType)
  • Method Details

    • execute

      public ByteBuffer execute(Arguments arguments)
      Description copied from interface: ScalarFunction
      Applies this function to the specified arguments.
      Parameters:
      arguments - the input arguments for the function
      Returns:
      the result of applying this function to the arguments
    • withLegacyName

      public NativeFunction withLegacyName()
      Description copied from class: NativeFunction
      Returns a copy of this function using its old pre-5.0 name before the adoption of snake-cased function names. Those naming conventions were adopted in 5.0, but we still need to support the old names for compatibility. See CASSANDRA-18037 for further details.
      Overrides:
      withLegacyName in class NativeFunction
      Returns:
      a copy of this function using its old pre-5.0 deprecated name, or null if the pre-5.0 function name already satisfied the naming conventions.
    • newArguments

      public Arguments newArguments(ProtocolVersion version)
      Description copied from interface: Function
      Creates some new input arguments for this function.
      Specified by:
      newArguments in interface Function
      Overrides:
      newArguments in class NativeFunction
      Parameters:
      version - the protocol version
      Returns:
      some new input arguments for this function