public abstract class SqlListenerUtils extends Object
| Constructor and Description |
|---|
SqlListenerUtils() |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
isPlainType(Class<?> cls) |
static Object |
readObject(BinaryReaderExImpl reader,
boolean binObjAllow) |
static void |
writeObject(BinaryWriterExImpl writer,
Object obj,
boolean binObjAllow) |
@Nullable public static Object readObject(BinaryReaderExImpl reader, boolean binObjAllow) throws BinaryObjectException
reader - Reader.binObjAllow - Allow to read non plaint objects.BinaryObjectException - On error.public static void writeObject(BinaryWriterExImpl writer, @Nullable Object obj, boolean binObjAllow) throws BinaryObjectException
writer - Writer.obj - Object to write.binObjAllow - Allow to write non plain objects.BinaryObjectException - On error.public static boolean isPlainType(Class<?> cls)
cls - Class.true is the type is plain (not user's custom class).
Follow @ApacheIgnite
Ignite Fabric : ver. 2.4.0 Release Date : March 5 2018