public WriterPropertiesBuilder CreatedBy(string createdBy)
 {
     ExceptionInfo.Check(WriterPropertiesBuilder_Created_By(_handle.IntPtr, createdBy));
     GC.KeepAlive(_handle);
     return(this);
 }
 public WriterPropertiesBuilder EnableDictionary(ColumnPath path)
 {
     ExceptionInfo.Check(WriterPropertiesBuilder_Enable_Dictionary_By_ColumnPath(_handle, path.Handle));
     return(this);
 }
 public WriterPropertiesBuilder DisableStatistics(string path)
 {
     ExceptionInfo.Check(WriterPropertiesBuilder_Disable_Statistics_By_Path(_handle, path));
     return(this);
 }
 public WriterPropertiesBuilder Version(ParquetVersion version)
 {
     ExceptionInfo.Check(WriterPropertiesBuilder_Version(_handle, version));
     return(this);
 }
 public WriterPropertiesBuilder EnableDictionary()
 {
     ExceptionInfo.Check(WriterPropertiesBuilder_Enable_Dictionary(_handle));
     return(this);
 }
 public WriterPropertiesBuilder Encoding(Encoding encoding)
 {
     ExceptionInfo.Check(WriterPropertiesBuilder_Encoding(_handle, encoding));
     return(this);
 }
 public WriterPropertiesBuilder Encoding(ColumnPath path, Encoding encoding)
 {
     ExceptionInfo.Check(WriterPropertiesBuilder_Encoding_By_ColumnPath(_handle, path.Handle, encoding));
     return(this);
 }
 public WriterPropertiesBuilder DisableDictionary(string path)
 {
     ExceptionInfo.Check(WriterPropertiesBuilder_Disable_Dictionary_By_Path(_handle.IntPtr, path));
     GC.KeepAlive(_handle);
     return(this);
 }
 public WriterPropertiesBuilder EnableStatistics()
 {
     ExceptionInfo.Check(WriterPropertiesBuilder_Enable_Statistics(_handle.IntPtr));
     GC.KeepAlive(_handle);
     return(this);
 }
 public WriterPropertiesBuilder WriteBatchSize(long writeBatchSize)
 {
     ExceptionInfo.Check(WriterPropertiesBuilder_Write_Batch_Size(_handle.IntPtr, writeBatchSize));
     GC.KeepAlive(_handle);
     return(this);
 }
        // Dictionary enable/disable

        public WriterPropertiesBuilder DisableDictionary()
        {
            ExceptionInfo.Check(WriterPropertiesBuilder_Disable_Dictionary(_handle.IntPtr));
            GC.KeepAlive(_handle);
            return(this);
        }
 public WriterPropertiesBuilder Version(ParquetVersion version)
 {
     ExceptionInfo.Check(WriterPropertiesBuilder_Version(_handle.IntPtr, version));
     GC.KeepAlive(_handle);
     return(this);
 }
 public WriterProperties Build()
 {
     return(new WriterProperties(ExceptionInfo.Return <IntPtr>(_handle, WriterPropertiesBuilder_Build)));
 }
 public WriterPropertiesBuilder Encoding(Encoding encoding)
 {
     ExceptionInfo.Check(WriterPropertiesBuilder_Encoding(_handle.IntPtr, encoding));
     GC.KeepAlive(_handle);
     return(this);
 }
 public WriterPropertiesBuilder DataPagesize(long pageSize)
 {
     ExceptionInfo.Check(WriterPropertiesBuilder_Data_Pagesize(_handle, pageSize));
     return(this);
 }
示例#16
0
 public RowGroupWriter AppendBufferedRowGroup()
 {
     return(new RowGroupWriter(ExceptionInfo.Return <IntPtr>(_handle, ParquetFileWriter_AppendBufferedRowGroup)));
 }
 public WriterPropertiesBuilder DictionaryPagesizeLimit(long dictionaryPagesizeLimit)
 {
     ExceptionInfo.Check(WriterPropertiesBuilder_Dictionary_Pagesize_Limit(_handle, dictionaryPagesizeLimit));
     return(this);
 }
 public ColumnEncryptionProperties DeepClone() => new ColumnEncryptionProperties(ExceptionInfo.Return <IntPtr>(Handle, ColumnEncryptionProperties_Deep_Clone));
 public WriterPropertiesBuilder Encoding(string path, Encoding encoding)
 {
     ExceptionInfo.Check(WriterPropertiesBuilder_Encoding_By_Path(_handle, path, encoding));
     return(this);
 }
示例#20
0
 public void Close()
 {
     ExceptionInfo.Check(ParquetFileReader_Close(_handle.IntPtr));
     GC.KeepAlive(_handle);
 }
 public WriterPropertiesBuilder MaxRowGroupLength(long maxRowGroupLength)
 {
     ExceptionInfo.Check(WriterPropertiesBuilder_Max_Row_Group_Length(_handle, maxRowGroupLength));
     return(this);
 }
示例#22
0
 public RowGroupReader RowGroup(int i)
 {
     return(new RowGroupReader(ExceptionInfo.Return <int, IntPtr>(_handle, i, ParquetFileReader_RowGroup)));
 }
 public WriterPropertiesBuilder WriteBatchSize(long writeBatchSize)
 {
     ExceptionInfo.Check(WriterPropertiesBuilder_Write_Batch_Size(_handle, writeBatchSize));
     return(this);
 }
        // Other properties

        public WriterPropertiesBuilder Compression(Compression codec)
        {
            ExceptionInfo.Check(WriterPropertiesBuilder_Compression(_handle, codec));
            return(this);
        }
 public WriterPropertiesBuilder EnableDictionary(string path)
 {
     ExceptionInfo.Check(WriterPropertiesBuilder_Enable_Dictionary_By_Path(_handle, path));
     return(this);
 }
 public WriterPropertiesBuilder Compression(ColumnPath path, Compression codec)
 {
     ExceptionInfo.Check(WriterPropertiesBuilder_Compression_By_ColumnPath(_handle, path.Handle, codec));
     return(this);
 }
        // Statistics enable/disable

        public WriterPropertiesBuilder DisableStatistics()
        {
            ExceptionInfo.Check(WriterPropertiesBuilder_Disable_Statistics(_handle));
            return(this);
        }
 public WriterPropertiesBuilder CreatedBy(string createdBy)
 {
     ExceptionInfo.Check(WriterPropertiesBuilder_Created_By(_handle, createdBy));
     return(this);
 }
 public WriterPropertiesBuilder DisableStatistics(ColumnPath path)
 {
     ExceptionInfo.Check(WriterPropertiesBuilder_Disable_Statistics_By_ColumnPath(_handle, path.Handle));
     return(this);
 }
 public WriterPropertiesBuilder CompressionLevel(string path, int compressionLevel)
 {
     ExceptionInfo.Check(WriterPropertiesBuilder_Compression_Level_By_Path(_handle.IntPtr, path, compressionLevel));
     GC.KeepAlive(_handle);
     return(this);
 }