Interface ColIndexFactory
public interface ColIndexFactory
-
Field Summary
Fields -
Method Summary
Static MethodsModifier and TypeMethodDescriptionstatic IColIndexstatic IColIndexstatic IColIndexstatic IColIndexcombineIndexes(List<IColIndex> idx) static IColIndexcreate(int nCol) static IColIndexcreate(int[] indexes) static IColIndexcreate(int l, int u) Create an Index range of the given valuesstatic IColIndexcreate(IntArrayList indexes) static IColIndexcreateI(int... indexes) static longestimateMemoryCost(int nCol, boolean contiguous) static IColIndexgetColumnMapping(IColIndex comb, IColIndex a) Provide a mapping from a to the combined columns shifted over to column positions in the combined.static IColIndex
-
Field Details
-
LOG
static final org.apache.commons.logging.Log LOG
-
-
Method Details
-
read
- Throws:
IOException
-
createI
-
create
-
create
-
create
Create an Index range of the given values- Parameters:
l- Lower bound (inclusive)u- Upper bound (not inclusive)- Returns:
- An Index
-
create
-
estimateMemoryCost
static long estimateMemoryCost(int nCol, boolean contiguous) -
combine
-
combineIndexes
-
combine
-
combine
-
getColumnMapping
Provide a mapping from a to the combined columns shifted over to column positions in the combined. It is assumed that the caller always input an a that is contained in comb. it is not verified in the call that it is correct.- Parameters:
comb- The combined indexesa- The indexes to look up- Returns:
- A column index mapping.
-