18 package com.mysql.clusterj.core.spi;
20 import com.mysql.clusterj.core.CacheManager;
21 import com.mysql.clusterj.core.query.CandidateIndexImpl;
22 import com.mysql.clusterj.core.store.Column;
23 import com.mysql.clusterj.core.store.Operation;
24 import com.mysql.clusterj.core.store.PartitionKey;
25 import com.mysql.clusterj.core.store.ResultData;
26 import com.mysql.clusterj.core.store.Table;
28 import java.util.BitSet;
35 public interface DomainTypeHandler<T> {
41 public Class<?> getOidClass();
43 public boolean isSupportedType();
45 public String getTableName();
49 public Class<T> getProxyClass();
51 public T newInstance();
61 public void objectSetKeys(Object keys, Object instance);
63 public void objectSetCacheManager(
CacheManager cm, Object instance);
67 public void operationGetValues(
Operation op);
69 public void operationGetValues(
Operation op, BitSet fields);
81 public int[] getKeyFieldNumbers();
83 public Set<Column> getStoreColumns(BitSet fields);
85 public Table getStoreTable();
89 public String[] getFieldNames();