Abstract DataSink class - AWS Glue

Abstract DataSink class

Paquete: com.amazonaws.services.glue

abstract class DataSink

El escritor análogo a un DataSource. DataSink encapsula un destino y un formato en el que se puede escribir un objeto DynamicFrame.

def writeDynamicFrame

def writeDynamicFrame( frame : DynamicFrame, callSite : CallSite = CallSite("Not provided", "") ) : DynamicFrame

def pyWriteDynamicFrame

def pyWriteDynamicFrame( frame : DynamicFrame, site : String = "Not provided", info : String = "" )

Def writeDataFrame

def writeDataFrame(frame: DataFrame, glueContext: GlueContext, callSite: CallSite = CallSite("Not provided", "") ): DataFrame

Def pyWriteDataFrame

def pyWriteDataFrame(frame: DataFrame, glueContext: GlueContext, site: String = "Not provided", info: String = "" ): DataFrame

def setCatalogInfo

def setCatalogInfo(catalogDatabase: String, catalogTableName : String, catalogId : String = "")

def supportsFormat

def supportsFormat( format : String ) : Boolean

def setFormat

def setFormat( format : String, options : JsonOptions ) : Unit

def withFormat

def withFormat( format : String, options : JsonOptions = JsonOptions.empty ) : DataSink

def setAccumulableSize

def setAccumulableSize( size : Int ) : Unit

def getOutputErrorRecordsAccumulable

def getOutputErrorRecordsAccumulable : Accumulable[List[OutputError], OutputError]

def errorsAsDynamicFrame

def errorsAsDynamicFrame : DynamicFrame

Objeto DataSink

object DataSink

def recordMetrics

def recordMetrics( frame : DynamicFrame, ctxt : String ) : DynamicFrame