ColumnDef

class lsst.dax.apdb.ColumnDef(name, type, nullable, default, description, unit, ucd)

Bases: tuple

Attributes Summary

default Alias for field number 3
description Alias for field number 4
name Alias for field number 0
nullable Alias for field number 2
type Alias for field number 1
ucd Alias for field number 6
unit Alias for field number 5

Methods Summary

count($self, value, /) Return number of occurrences of value.
index($self, value[, start, stop]) Return first index of value.

Attributes Documentation

default

Alias for field number 3

description

Alias for field number 4

name

Alias for field number 0

nullable

Alias for field number 2

type

Alias for field number 1

ucd

Alias for field number 6

unit

Alias for field number 5

Methods Documentation

count($self, value, /)

Return number of occurrences of value.

index($self, value, start=0, stop=sys.maxsize, /)

Return first index of value.

Raises ValueError if the value is not present.