EBackend.CacheColumnInfo

Fields

Name

Type

Access

Description

index_name

str

r/w

name

str

r/w

type

str

r/w

Methods

class

free (info)

class

new (name, type, index_name)

copy ()

Details

class EBackend.CacheColumnInfo
classmethod free(info)
Parameters:

info (object or None) – an EBackend.CacheColumnInfo

Frees the info structure, previously allocated with EBackend.CacheColumnInfo.new() or EBackend.CacheColumnInfo.copy().

New in version 3.26.

classmethod new(name, type, index_name)
Parameters:
  • name (str) – a column name

  • type (str) – a column type

  • index_name (str or None) – an index name for this column, or None

Returns:

A new EBackend.CacheColumnInfo. Free it with EBackend.CacheColumnInfo.free() when no longer needed.

Return type:

EBackend.CacheColumnInfo

New in version 3.26.

copy()
Returns:

Copy of the given self. Free it with EBackend.CacheColumnInfo.free() when no longer needed. If the self is None, then returns None as well.

Return type:

EBackend.CacheColumnInfo or None

New in version 3.26.