Table of Contents

Struct WriterProperties.SortingColumn

Namespace
ParquetSharp
Assembly
ParquetSharp.dll

Represents a column sorting specification.

public readonly struct WriterProperties.SortingColumn : IEquatable<WriterProperties.SortingColumn>
Implements
Inherited Members

Constructors

SortingColumn(int, bool, bool)

Creates a new sorting column specification.

public SortingColumn(int columnIndex, bool isDescending = false, bool nullsFirst = false)

Parameters

columnIndex int

The index of the column to sort by

isDescending bool

Whether to sort in descending order (true) or ascending order (false)

nullsFirst bool

Whether nulls should come first (true) or last (false)

Properties

ColumnIndex

The index of the column to sort by

public int ColumnIndex { get; }

Property Value

int

IsDescending

Whether to sort in descending order (true) or ascending order (false)

public bool IsDescending { get; }

Property Value

bool

NullsFirst

Whether nulls should come first (true) or last (false)

public bool NullsFirst { get; }

Property Value

bool

Methods

Equals(SortingColumn)

Indicates whether the current object is equal to another object of the same type.

public bool Equals(WriterProperties.SortingColumn other)

Parameters

other WriterProperties.SortingColumn

An object to compare with this object.

Returns

bool

true if the current object is equal to the other parameter; otherwise, false.

Equals(object?)

Indicates whether this instance and a specified object are equal.

public override bool Equals(object? obj)

Parameters

obj object

The object to compare with the current instance.

Returns

bool

true if obj and this instance are the same type and represent the same value; otherwise, false.

GetHashCode()

Returns the hash code for this instance.

public override int GetHashCode()

Returns

int

A 32-bit signed integer that is the hash code for this instance.

Operators

operator ==(SortingColumn, SortingColumn)

public static bool operator ==(WriterProperties.SortingColumn left, WriterProperties.SortingColumn right)

Parameters

left WriterProperties.SortingColumn
right WriterProperties.SortingColumn

Returns

bool

operator !=(SortingColumn, SortingColumn)

public static bool operator !=(WriterProperties.SortingColumn left, WriterProperties.SortingColumn right)

Parameters

left WriterProperties.SortingColumn
right WriterProperties.SortingColumn

Returns

bool