public SymbolMapColumn(int columnID, int partitionID, IRawFile data, IRawFile datak, IRawFile datar, IRawFile symd, IRawFile symi, IRawFile symk, IRawFile symr, string propertyName, int capacity, long recordCountHint, int maxLen) : this(columnID, partitionID, data, symd, symi, symk, symr, propertyName, capacity, maxLen) { _datarIndex = new IndexColumn(datak, datar, capacity, recordCountHint); _isIndexed = true; }
public SymbolMapColumn(int columnID, int partitionID, IRawFile data, IRawFile symd, IRawFile symi, IRawFile symk, IRawFile symr, string propertyName, int capacity, int maxLen) { capacity = Math.Max(capacity, MetadataConstants.MIN_SYMBOL_DISTINCT_COUNT); _symiFileID = symi.FileID; _globalSymColumn = new StringColumn(symd, symi, maxLen, propertyName); _symrIndex = new IndexColumn(symk, symr, capacity, capacity * HASH_FUNCTION_GROUPING_RATE); _columnId = columnID; _partitionID = partitionID; _data = data; _symi = symi; _capacity = capacity; PropertyName = propertyName; FieldType = EFieldType.Symbol; _cacheCapacity = Math.Min(MetadataConstants.SYMBOL_STRING_CACHE_SIZE, capacity); }