public abstract class AbstractKeyArrayIndexProcedureConstructor<T extends IKeyArrayIndexProcedure> extends Object
IKeyArrayIndexProcedures so that their data may be key
range partitions and mapped against each relevant index partition.| Constructor and Description |
|---|
AbstractKeyArrayIndexProcedureConstructor() |
| Modifier and Type | Method and Description |
|---|---|
T |
newInstance(IIndex ndx,
int fromIndex,
int toIndex,
byte[][] keys,
byte[][] vals)
|
T |
newInstance(IndexMetadata indexMetadata,
int fromIndex,
int toIndex,
byte[][] keys,
byte[][] vals)
Uses the
ITupleSerializer reported by IndexMetadata. |
T |
newInstance(int fromIndex,
int toIndex,
byte[][] keys,
byte[][] vals)
Uses the default
IRabaCoders for coding. |
abstract T |
newInstance(IRabaCoder keysCoder,
IRabaCoder valsCoder,
int fromIndex,
int toIndex,
byte[][] keys,
byte[][] vals)
Uses the specified
IRabaCoders. |
abstract boolean |
sendValues()
Return
true if the procedure requires values paired with
the keys (otherwise the caller should specify null for the
values byte[]). |
public AbstractKeyArrayIndexProcedureConstructor()
public abstract boolean sendValues()
true if the procedure requires values paired with
the keys (otherwise the caller should specify null for the
values byte[]).public T newInstance(IIndex ndx, int fromIndex, int toIndex, byte[][] keys, byte[][] vals)
ndx - The index - this is used to determine the serializers for the
keys and/or values to be sent to a remote IDataService.fromIndex - The index of the first key to be used (inclusive).toIndex - The index of the last key to be used (exclusive).keys - The keys.vals - The values (may be optional depending on the semantics of the
operation).public T newInstance(IndexMetadata indexMetadata, int fromIndex, int toIndex, byte[][] keys, byte[][] vals)
ITupleSerializer reported by IndexMetadata.indexMetadata - fromIndex - toIndex - keys - vals - public T newInstance(int fromIndex, int toIndex, byte[][] keys, byte[][] vals)
IRabaCoders for coding.fromIndex - toIndex - keys - vals - public abstract T newInstance(IRabaCoder keysCoder, IRabaCoder valsCoder, int fromIndex, int toIndex, byte[][] keys, byte[][] vals)
IRabaCoders.keysCoder - valsCoder - fromIndex - toIndex - keys - vals - Copyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.