Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Code Block
languagejava
/**
 *
 */
public class TypeConfiguration {
    /** Type name. */
    private String typeName;

    /** Affinity key field name. */
    private String affKeyFieldName;

 
    /** PortableType configuration (only needed if portable marshaller is used)info extensions. */
    private PortableConfiguration portableCfg;
 
    /** Query type configuration. */
    private QueryTypeConfiguration queryCfg;

    /** Persistence configuration (only needed if {@link org.apache.ignite.cache.store.jdbc.CacheJdbcPojoStore} is used). */
    private PersistenceConfiguration persistenceCfg;Map<Class<? extends TypeInfo>, ? extends TypeInfo> typeInfos;
}
Code Block
languagejava
/**
 *
 */
public interface TypeInfo {
}
Code Block
languagejava
/**
 *
 */
public class PersistenceTypeInfo PersistenceTypeConfigurationimplements TypeInfo {
    /** Schema name in database. */
    private String dbSchema;

    /** Table name in database. */
    private String dbTbl;

    /** Persisted fields. */
    @GridToStringInclude
    private Collection<CacheTypeFieldMetadata> fields;
}
Code Block
languagejava
/**
 *
 */
public class PortableTypeConfigurationPortableTypeInfo implements TypeInfo {
    /** ID mapper. */
    private PortableIdMapper idMapper;

    /** Serializer. */
    private PortableSerializer serializer;

    /** Use timestamp flag. */
    private Boolean useTs;

    /** Meta data enabled flag. */
    private Boolean metaDataEnabled;
}
Code Block
languagejava
/**
 *
 */
public class QueryTypeInfo implements QueryTypeConfigurationTypeInfo {
    /** 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;
}