Пример #1
0
 public StringDictionaryArray(int length,
                              int uniqueValues,
                              ArrowBuffer nullBitmapBuffer,
                              ArrowBuffer indices,
                              ArrowBuffer dataBuffer,
                              ArrowBuffer dataOffsets,
                              int nullCount = 0, int offset = 0)
     : this(new ArrayData(DictionaryType.Default(ArrowTypeId.String), length, nullCount, offset,
                          new[] { nullBitmapBuffer, indices, dataBuffer, dataOffsets }), uniqueValues)
 {
 }
Пример #2
0
 public DoubleDictionaryArray(int length, int uniqueValuesCount, ArrowBuffer indices, ArrowBuffer dataBuffer, ArrowBuffer nullBitmapBuffer, int nullCount = 0, int offset = 0) :
     this(new ArrayData(DictionaryType.Default(ArrowTypeId.Double), length, nullCount, offset, new[] { nullBitmapBuffer, indices, dataBuffer }), uniqueValuesCount)
 {
 }