public final class AvroWriteSettings extends FormatWriteSettings
Constructor and Description |
---|
AvroWriteSettings() |
Modifier and Type | Method and 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.
|
getAdditionalProperties, setAdditionalProperties
public String getRecordName()
public AvroWriteSettings setRecordName(String recordName)
recordName
- the recordName value to set.public String getRecordNamespace()
public AvroWriteSettings setRecordNamespace(String recordNamespace)
recordNamespace
- the recordNamespace value to set.public Object getMaxRowsPerFile()
public AvroWriteSettings setMaxRowsPerFile(Object maxRowsPerFile)
maxRowsPerFile
- the maxRowsPerFile value to set.public Object getFileNamePrefix()
public AvroWriteSettings setFileNamePrefix(Object fileNamePrefix)
fileNamePrefix
- the fileNamePrefix value to set.Visit the Azure for Java Developers site for more Java documentation, including quick starts, tutorials, and code samples.