public abstract class SqlListenerUtils extends Object
| Constructor and Description |
|---|
SqlListenerUtils() |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
isPlainType(Class<?> cls) |
static @Nullable Object |
readObject(BinaryReaderExImpl reader,
boolean binObjAllow) |
static String |
translateSqlWildcardsToRegex(String sqlPtrn)
Converts sql pattern wildcards into java regex wildcards.
|
static void |
writeObject(BinaryWriterExImpl writer,
@Nullable Object obj,
boolean binObjAllow) |
@Nullable public static @Nullable 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 @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 Database and Caching Platform : ver. 2.8.1 Release Date : May 21 2020