public class SqliteUtils extends Object
Constructor and Description |
---|
SqliteUtils() |
Modifier and Type | Method and Description |
---|---|
static void |
appendCustomQueryString(ICustomQuery customQuery,
StringBuilder queryBuilder,
QueryParameters queryParams) |
static void |
appendRangeString(Range range,
StringBuilder queryBuilder,
QueryParameters queryParams) |
static Comparable |
convertInstantToDateType(java.time.Instant instant,
String dateTypeName) |
static String |
getMatchCodeString(short matchCode) |
static String |
getMatchCodeString(short originalMatchCode,
boolean inclusion) |
static String |
getPropertyType(String typeName) |
static Object |
getPropertyValue(ResultSet resultSet,
Class<?> propertyType,
int index) |
static String |
getUIDValue(ResultSet resultSet) |
static int |
getVersionValue(ResultSet resultSet) |
static void |
main(String[] args) |
static void |
setPropertyValue(boolean isUpdate,
PreparedStatement statement,
Class<?> propertyType,
int index,
Object value) |
public static Object getPropertyValue(ResultSet resultSet, Class<?> propertyType, int index) throws SQLException
SQLException
public static int getVersionValue(ResultSet resultSet) throws SQLException
SQLException
public static String getUIDValue(ResultSet resultSet) throws SQLException
SQLException
public static void setPropertyValue(boolean isUpdate, PreparedStatement statement, Class<?> propertyType, int index, Object value) throws SQLException
SQLException
public static String getMatchCodeString(short matchCode)
public static String getMatchCodeString(short originalMatchCode, boolean inclusion)
public static void appendCustomQueryString(ICustomQuery customQuery, StringBuilder queryBuilder, QueryParameters queryParams)
public static void appendRangeString(Range range, StringBuilder queryBuilder, QueryParameters queryParams)
public static Comparable convertInstantToDateType(java.time.Instant instant, String dateTypeName)
public static void main(String[] args)
Copyright © GigaSpaces.