|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.bigdata.btree.proc.AbstractKeyArrayIndexProcedureConstructor<T>
public abstract class AbstractKeyArrayIndexProcedureConstructor<T extends IKeyArrayIndexProcedure>
A factory for IKeyArrayIndexProcedures so that their data may be key
range partitions and mapped against each relevant index partition.
| Constructor Summary | |
|---|---|
AbstractKeyArrayIndexProcedureConstructor()
|
|
| Method Summary | |
|---|---|
T |
newInstance(IIndex ndx,
int fromIndex,
int toIndex,
byte[][] keys,
byte[][] vals)
Uses the ITupleSerializer reported by IndexMetadata for
the IIndex. |
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[]). |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AbstractKeyArrayIndexProcedureConstructor()
| Method Detail |
|---|
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)
ITupleSerializer reported by IndexMetadata for
the IIndex.
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 -
IndexMetadata is not on hand locally?
public abstract T newInstance(IRabaCoder keysCoder,
IRabaCoder valsCoder,
int fromIndex,
int toIndex,
byte[][] keys,
byte[][] vals)
IRabaCoders.
keysCoder - valsCoder - fromIndex - toIndex - keys - vals -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||