AttributeType¶
See https://docs.tamr.com/reference#attribute-types
-
tamr_client.attribute_type.
BOOLEAN
= Boolean()¶
-
tamr_client.attribute_type.
DOUBLE
= Double()¶
-
tamr_client.attribute_type.
INT
= Int()¶
-
tamr_client.attribute_type.
LONG
= Long()¶
-
tamr_client.attribute_type.
STRING
= String()¶
-
class
tamr_client.attribute_type.
Array
(inner_type)¶ - Parameters
inner_type (
AttributeType
) –
-
class
tamr_client.attribute_type.
Map
(inner_type)¶ - Parameters
inner_type (
AttributeType
) –
-
class
tamr_client.attribute_type.
Record
(attributes)¶ - Parameters
attributes (
Tuple
[SubAttribute
]) –
-
tamr_client.attribute_type.
from_json
(data)¶ Make an attribute type from JSON data (deserialize)
-
tamr_client.attribute_type.
to_json
(attr_type)¶ Serialize attribute type to JSON
Type aliases¶
-
tamr_client.attributes.type_alias.
DEFAULT
= Array(inner_type=String())¶
-
tamr_client.attributes.type_alias.
GEOSPATIAL
= Record(attributes=(SubAttribute(name='point', type=Array(inner_type=Double()), is_nullable=True, description=None), SubAttribute(name='multiPoint', type=Array(inner_type=Array(inner_type=Double())), is_nullable=True, description=None), SubAttribute(name='lineString', type=Array(inner_type=Array(inner_type=Double())), is_nullable=True, description=None), SubAttribute(name='multiLineString', type=Array(inner_type=Array(inner_type=Array(inner_type=Double()))), is_nullable=True, description=None), SubAttribute(name='polygon', type=Array(inner_type=Array(inner_type=Array(inner_type=Double()))), is_nullable=True, description=None), SubAttribute(name='multiPolygon', type=Array(inner_type=Array(inner_type=Array(inner_type=Array(inner_type=Double())))), is_nullable=True, description=None)))¶