Skip to main content

Static interface for type-level properties. More…

Static Public Member Functions

static IReadOnlyDictionary< string, IList< string > > GetTypeProperties ()
 Returns type properties including field types and attributes.
 
static IReadOnlyDictionary< string, IList< string > > GetTypeProperties ()
 Returns type properties including field types and attributes.
 

Detailed Description

Static interface for type-level properties.

Implement this alongside IKineticaRecord to provide type metadata.

Note: C# doesn’t support static interface members in all versions. This interface provides a pattern for implementing static GetTypeProperties().

Template Parameters
TThe implementing type.
Type Constraints

Definition at line 54 of file IKineticaRecord.cs.

Member Function Documentation

◆ GetTypeProperties() [1/2]

static IReadOnlyDictionary< string, IList< string > > kinetica.Records.IKineticaRecordType< T >.GetTypeProperties ()
staticabstract

Returns type properties including field types and attributes.

Properties include:

  • “primary_key”: Column is part of the primary key
  • ”shard_key”: Column is part of the shard key
  • ”nullable”: Column can contain null values
  • ”timestamp”: Column contains timestamp data
  • ”ipv4”: Column contains IPv4 addresses
  • etc.
Returns
A dictionary mapping column names to their list of properties.

◆ GetTypeProperties() [2/2]

static IReadOnlyDictionary< string, IList< string > > kinetica.Records.IKineticaRecordType< T >.GetTypeProperties ()
staticabstract

Returns type properties including field types and attributes.

Properties include:

  • “primary_key”: Column is part of the primary key
  • ”shard_key”: Column is part of the shard key
  • ”nullable”: Column can contain null values
  • ”timestamp”: Column contains timestamp data
  • ”ipv4”: Column contains IPv4 addresses
  • etc.
Returns
A dictionary mapping column names to their list of properties.

The documentation for this interface was generated from the following files:
  • _build/public-os_ubuntu24.04-arch_amd64-cc_gcc_13.3.0/install/Kinetica/Records/IKineticaRecord.cs
  • Kinetica/Records/IKineticaRecord.cs