PySpark 拡張子型
AWS Glue PySpark 拡張子で使用される型。
DataType
他の AWS Glue 型の基本クラス。
データ型とクラスのプロパティが含まれる JSON オブジェクトを返します。
{ "dataType": typeName, "properties": properties }
AtomicType およびシンプルデリバティブ
DataType クラスから継承して拡張し、すべての AWS Glue アトミックデータ型の基本クラスとして機能します。
次の型は、AtomicType クラスのシンプルデリバティブです。
DecimalType(AtomicType)
10 進数 (バイナリ 2 進数ではなく、10 進数で表記される数) を表わすため、AtomicType クラスから継承して拡張します。
EnumType(AtomicType)
有効なオプションの列挙を表すために、AtomicType クラスから継承して拡張します。
コレクション型
ArrayType(DataType)
__init__(elementType=UnknownType(), properties={})
ChoiceType(DataType)
__init__(choices=[], properties={})
MapType(DataType)
__init__(valueType=UnknownType, properties={})
フィールド (オブジェクト)
DataType から派生したオブジェクトからフィールドオブジェクトを作成します。
__init__(name, dataType, properties={})
StructType(DataType)
データ構造を定義します (struct
)。
__init__(fields=[], properties={})
hasField(field)
この構造に同じ名前のフィールドがある場合は True
を、そうでない場合は False
を返します。
EntityType(DataType)
__init__(entity, base_type, properties)
このクラスは、まだ実装されていません。
その他の型
DataSource (オブジェクト)
getFrame()
データソースに DynamicFrame
を返します。
DataSink (オブジェクト)
writeFrame(dynamic_frame, info="")
write(dynamic_frame_or_dfc, info="")
DynamicFrame
または DynamicFrameCollection
を書き込みます。