public final class Util
extends Object
Spanner utility methods.
-
Method Summary
unwrap(com.google.cloud.ByteArray data)
static com.google.cloud.ByteArray
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Method Details
-
wrap
public static com.google.cloud.ByteArray wrap(ByteData data)
- 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)
- Parameters:
data
- input ByteArray
, or null
- Returns:
- equivalent
ByteData
, or null if data
is null