in cassandra/src/main/java/org/apache/ignite/activestore/impl/cassandra/persistence/PersistenceController.java [173:192]
public String getLoadStatement(String keyspace, String table, boolean includeKeyFields, boolean includeValueFields,
boolean includeFilter) {
Map<String, String> map = includeFilter
? includeKeyFields
? includeValueFields ? loadKeyValueStatements : null
: includeValueFields ? loadValueStatements : null
: null;
String key = keyspace.concat(table);
if (map != null) {
String result = map.get(key);
if (result != null) {
return result;
}
}
String result = loadStatement(keyspace, table, includeKeyFields, includeValueFields, includeFilter);
if (map != null) {
map.put(key, result);
}
return result;
}