Class LogicalType
- Namespace
- ParquetSharp
- Assembly
- ParquetSharp.dll
public abstract class LogicalType : IDisposable, IEquatable<LogicalType>
- Inheritance
-
LogicalType
- Implements
- Derived
- Inherited Members
Constructors
LogicalType(IntPtr)
protected LogicalType(IntPtr handle)
Parameters
handle
IntPtr
Properties
Type
public LogicalTypeEnum Type { get; }
Property Value
Methods
Bson()
public static LogicalType Bson()
Returns
Date()
public static LogicalType Date()
Returns
Decimal(int, int)
public static LogicalType Decimal(int precision, int scale = 0)
Parameters
Returns
Dispose()
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
public void Dispose()
Enum()
public static LogicalType Enum()
Returns
Equals(LogicalType?)
Indicates whether the current object is equal to another object of the same type.
public bool Equals(LogicalType? other)
Parameters
other
LogicalTypeAn object to compare with this object.
Returns
Float16()
Create a Float16 LogicalType
This can be used to annotate a 2-byte fixed-length byte array
public static LogicalType Float16()
Returns
- LogicalType
New Float16 LogicalType
Int(int, bool)
public static LogicalType Int(int bitWidth, bool isSigned)
Parameters
Returns
Interval()
public static LogicalType Interval()
Returns
Json()
public static LogicalType Json()
Returns
List()
public static LogicalType List()
Returns
Map()
public static LogicalType Map()
Returns
None()
public static LogicalType None()
Returns
Null()
public static LogicalType Null()
Returns
String()
public static LogicalType String()
Returns
Time(bool, TimeUnit)
public static LogicalType Time(bool isAdjustedToUtc, TimeUnit timeUnit)
Parameters
Returns
Timestamp(bool, TimeUnit)
public static LogicalType Timestamp(bool isAdjustedToUtc, TimeUnit timeUnit)
Parameters
Returns
Timestamp(bool, TimeUnit, bool)
public static LogicalType Timestamp(bool isAdjustedToUtc, TimeUnit timeUnit, bool forceSetConvertedType)
Parameters
Returns
ToString()
Returns a string that represents the current object.
public override string ToString()
Returns
- string
A string that represents the current object.
Uuid()
public static LogicalType Uuid()