Package io.datarouter.client.mysql.scan
Class MysqlManagedIndexScanner<PK extends io.datarouter.model.key.primary.PrimaryKey<PK>,D extends io.datarouter.model.databean.Databean<PK,D>,F extends io.datarouter.model.serialize.fielder.DatabeanFielder<PK,D>,IK extends io.datarouter.model.key.primary.PrimaryKey<IK>,IE extends io.datarouter.model.index.IndexEntry<IK,IE,PK,D>,IF extends io.datarouter.model.serialize.fielder.DatabeanFielder<IK,IE>>
java.lang.Object
io.datarouter.scanner.BaseScanner<java.util.List<T>>
io.datarouter.storage.op.scan.BaseNodeScanner<IK,IE>
io.datarouter.client.mysql.scan.MysqlManagedIndexScanner<PK,D,F,IK,IE,IF>
- All Implemented Interfaces:
io.datarouter.scanner.Scanner<java.util.List<IE>>,java.io.Closeable,java.lang.AutoCloseable
public class MysqlManagedIndexScanner<PK extends io.datarouter.model.key.primary.PrimaryKey<PK>,D extends io.datarouter.model.databean.Databean<PK,D>,F extends io.datarouter.model.serialize.fielder.DatabeanFielder<PK,D>,IK extends io.datarouter.model.key.primary.PrimaryKey<IK>,IE extends io.datarouter.model.index.IndexEntry<IK,IE,PK,D>,IF extends io.datarouter.model.serialize.fielder.DatabeanFielder<IK,IE>>
extends io.datarouter.storage.op.scan.BaseNodeScanner<IK,IE>
-
Field Summary
-
Constructor Summary
Constructors Constructor Description MysqlManagedIndexScanner(MysqlNodeManager mysqlNodeManager, io.datarouter.storage.serialize.fieldcache.IndexEntryFieldInfo<IK,IE,IF> indexEntryFieldInfo, io.datarouter.storage.serialize.fieldcache.PhysicalDatabeanFieldInfo<PK,D,F> fieldInfo, java.util.Collection<io.datarouter.util.tuple.Range<IK>> ranges, io.datarouter.storage.config.Config config, boolean caseInsensitive) -
Method Summary
Modifier and Type Method Description protected IKgetPrimaryKey(IE fieldSet)protected java.util.List<IE>loadRanges(java.util.Collection<io.datarouter.util.tuple.Range<IK>> ranges, io.datarouter.storage.config.Config config)Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.datarouter.scanner.Scanner
advanceUntil, advanceWhile, allMatch, anyMatch, batch, close, collate, collate, collect, concatenate, count, deduplicate, deduplicate, distinct, each, exclude, findAny, findFirst, findLast, flush, forEach, hasAny, include, isEmpty, iterable, iterator, limit, link, list, listTo, map, mapToScanner, max, min, noneMatch, parallel, prefetch, reduce, retain, sample, skip, sorted, sorted, stream, take, toArray
-
Constructor Details
-
MysqlManagedIndexScanner
public MysqlManagedIndexScanner(MysqlNodeManager mysqlNodeManager, io.datarouter.storage.serialize.fieldcache.IndexEntryFieldInfo<IK,IE,IF> indexEntryFieldInfo, io.datarouter.storage.serialize.fieldcache.PhysicalDatabeanFieldInfo<PK,D,F> fieldInfo, java.util.Collection<io.datarouter.util.tuple.Range<IK>> ranges, io.datarouter.storage.config.Config config, boolean caseInsensitive)
-
-
Method Details