Title here
Summary here
This attribute defines the mapping between a property name and the name of a column in a parquet file. When using the ParquetDestination, the WriteOrder defines the order of the columns in the file.
[AttributeUsage(AttributeTargets.Property)]
public class ParquetColumn : Attribute
public class MyPoco { [ParquetColumn("NameInParquet", WriteOrder: 1)] public string SomeProperty { get; set; } [ParquetColumn(WriterOrder: 2)] public string AnotherProperty { get; set; } }
public ParquetColumn()
public ParquetColumn(int writeOrder)
Type | Name | Description |
---|---|---|
int | writeOrder |
public ParquetColumn(string columnName)
Type | Name | Description |
---|---|---|
string | columnName |
public ParquetColumn(string columnName, int writeOrder)
Type | Name | Description |
---|---|---|
string | columnName | |
int | writeOrder |
public string ColumnName { get; set; }
Type | Description |
---|---|
string |
public string PropertyName { get; set; }
Type | Description |
---|---|
string |
public int WriteOrder { get; set; }
Type | Description |
---|---|
int |