use of org.apache.ignite.internal.cache.query.index.sorted.inline.JavaObjectKeySerializer in project ignite by apache.
the class InlineIndexColumnTest method resetState.
/**
*/
@Before
public void resetState() throws Exception {
inlineObjHash = false;
IndexProcessor.serializer = new JavaObjectKeySerializer(getConfiguration());
JdbcUtils.serializer = new JavaObjectSerializer() {
@Override
public byte[] serialize(Object o) throws Exception {
return IndexProcessor.serializer.serialize(o);
}
@Override
public Object deserialize(byte[] bytes) throws Exception {
return IndexProcessor.serializer.deserialize(bytes);
}
};
}
Aggregations