THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
Code Block | ||
---|---|---|
| ||
/**
*
*/
public class TypeConfiguration {
/** Type name. */
private String typeName;
/** Keep deserialized flag. */
private Boolean keepDeserialized;
/** Affinity key field name. */
private String affKeyFieldName;
/** Portable configuration (only needed if portable marshaller is used). */
private PortableConfiguration portableCfg;
/** Persistence configuration (only needed if {@link org.apache.ignite.cache.store.jdbc.CacheJdbcPojoStore} is used). */
private PersistenceConfiguration persistenceCfg;
/** Indexing type configuration. */
private IndexingConfiguration idxCfg;
} |
Code Block | ||
---|---|---|
| ||
/** * */ public class PersistenceConfiguration { /** Schema name in database. */ private String dbSchema; /** Table name in database. */ private String dbTbl; /** Persisted fields. */ @GridToStringInclude private Collection<CacheTypeFieldMetadata> fields; } |
...
Code Block | ||
---|---|---|
| ||
/**
*
*/
public class IndexingConfiguration {
/** Key type. */
private String keyType;
/** Value type. */
private String valueType;
/** Field name-to-type map to be queried, in addition to indexed fields. */
@GridToStringInclude
private Map<String, Class<?>> qryFlds;
/** Field name-to-type map to index in ascending order. */
@GridToStringInclude
private Map<String, Class<?>> ascFlds;
/** Field name-to-type map to index in descending order. */
@GridToStringInclude
private Map<String, Class<?>> descFlds;
/** Fields to index as text. */
@GridToStringInclude
private Collection<String> txtFlds;
/** Fields to create group indexes for. */
@GridToStringInclude
private Map<String, LinkedHashMap<String, IgniteBiTuple<Class<?>, Boolean>>> grps;
} |