Class AvroWriteSettings
- java.lang.Object
-
- com.azure.analytics.synapse.artifacts.models.FormatWriteSettings
-
- com.azure.analytics.synapse.artifacts.models.AvroWriteSettings
-
public final class AvroWriteSettings extends FormatWriteSettings
Avro write settings.
-
-
Constructor Summary
Constructors Constructor Description AvroWriteSettings()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
getFileNamePrefix()
Get the fileNamePrefix property: Specifies the file name pattern <fileNamePrefix>_<fileIndex>.<fileExtension> when copy from non-file based store without partitionOptions.Object
getMaxRowsPerFile()
Get the maxRowsPerFile property: Limit the written file's row count to be smaller than or equal to the specified count.String
getRecordName()
Get the recordName property: Top level record name in write result, which is required in AVRO spec.String
getRecordNamespace()
Get the recordNamespace property: Record namespace in the write result.AvroWriteSettings
setFileNamePrefix(Object fileNamePrefix)
Set the fileNamePrefix property: Specifies the file name pattern <fileNamePrefix>_<fileIndex>.<fileExtension> when copy from non-file based store without partitionOptions.AvroWriteSettings
setMaxRowsPerFile(Object maxRowsPerFile)
Set the maxRowsPerFile property: Limit the written file's row count to be smaller than or equal to the specified count.AvroWriteSettings
setRecordName(String recordName)
Set the recordName property: Top level record name in write result, which is required in AVRO spec.AvroWriteSettings
setRecordNamespace(String recordNamespace)
Set the recordNamespace property: Record namespace in the write result.-
Methods inherited from class com.azure.analytics.synapse.artifacts.models.FormatWriteSettings
getAdditionalProperties, setAdditionalProperties
-
-
-
-
Method Detail
-
getRecordName
public String getRecordName()
Get the recordName property: Top level record name in write result, which is required in AVRO spec.- Returns:
- the recordName value.
-
setRecordName
public AvroWriteSettings setRecordName(String recordName)
Set the recordName property: Top level record name in write result, which is required in AVRO spec.- Parameters:
recordName
- the recordName value to set.- Returns:
- the AvroWriteSettings object itself.
-
getRecordNamespace
public String getRecordNamespace()
Get the recordNamespace property: Record namespace in the write result.- Returns:
- the recordNamespace value.
-
setRecordNamespace
public AvroWriteSettings setRecordNamespace(String recordNamespace)
Set the recordNamespace property: Record namespace in the write result.- Parameters:
recordNamespace
- the recordNamespace value to set.- Returns:
- the AvroWriteSettings object itself.
-
getMaxRowsPerFile
public Object getMaxRowsPerFile()
Get the maxRowsPerFile property: Limit the written file's row count to be smaller than or equal to the specified count. Type: integer (or Expression with resultType integer).- Returns:
- the maxRowsPerFile value.
-
setMaxRowsPerFile
public AvroWriteSettings setMaxRowsPerFile(Object maxRowsPerFile)
Set the maxRowsPerFile property: Limit the written file's row count to be smaller than or equal to the specified count. Type: integer (or Expression with resultType integer).- Parameters:
maxRowsPerFile
- the maxRowsPerFile value to set.- Returns:
- the AvroWriteSettings object itself.
-
getFileNamePrefix
public Object getFileNamePrefix()
Get the fileNamePrefix property: Specifies the file name pattern <fileNamePrefix>_<fileIndex>.<fileExtension> when copy from non-file based store without partitionOptions. Type: string (or Expression with resultType string).- Returns:
- the fileNamePrefix value.
-
setFileNamePrefix
public AvroWriteSettings setFileNamePrefix(Object fileNamePrefix)
Set the fileNamePrefix property: Specifies the file name pattern <fileNamePrefix>_<fileIndex>.<fileExtension> when copy from non-file based store without partitionOptions. Type: string (or Expression with resultType string).- Parameters:
fileNamePrefix
- the fileNamePrefix value to set.- Returns:
- the AvroWriteSettings object itself.
-
-