Class Util

java.lang.Object
io.permazen.kv.spanner.Util

public final class Util extends Object
Spanner utility methods.
  • Method Details

    • wrap

      public static com.google.cloud.ByteArray wrap(ByteData data)
      Convert ByteData to ByteArray.
      Parameters:
      data - input ByteData, or null
      Returns:
      equivalent ByteArray, or null if data is null
    • unwrap

      public static ByteData unwrap(com.google.cloud.ByteArray data)
      Convert ByteArray to ByteData.
      Parameters:
      data - input ByteArray, or null
      Returns:
      equivalent ByteData, or null if data is null