AvroCompressionCodec Class
- java.
lang. Object - com.
azure. core. util. ExpandableStringEnum<T> - com.
azure. analytics. synapse. artifacts. models. AvroCompressionCodec
- com.
- com.
public final class AvroCompressionCodec
extends ExpandableStringEnum<AvroCompressionCodec>
Defines values for AvroCompressionCodec.
Field Summary
| Modifier and Type | Field and Description |
|---|---|
|
static final
Avro |
BZIP2
Static value bzip2 for Avro |
|
static final
Avro |
DEFLATE
Static value deflate for Avro |
|
static final
Avro |
NONE
Static value none for Avro |
|
static final
Avro |
SNAPPY
Static value snappy for Avro |
|
static final
Avro |
XZ
Static value xz for Avro |
Constructor Summary
| Constructor | Description |
|---|---|
| AvroCompressionCodec() |
Deprecated
Use the fromString(String name) factory method.
Creates a new instance of Avro |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Avro |
fromString(String name)
Creates or finds a Avro |
|
static
Collection<Avro |
values()
Gets known Avro |
Methods inherited from ExpandableStringEnum
Methods inherited from java.lang.Object
Field Details
BZIP2
public static final AvroCompressionCodec BZIP2
Static value bzip2 for AvroCompressionCodec.
DEFLATE
public static final AvroCompressionCodec DEFLATE
Static value deflate for AvroCompressionCodec.
NONE
public static final AvroCompressionCodec NONE
Static value none for AvroCompressionCodec.
SNAPPY
public static final AvroCompressionCodec SNAPPY
Static value snappy for AvroCompressionCodec.
XZ
public static final AvroCompressionCodec XZ
Static value xz for AvroCompressionCodec.
Constructor Details
AvroCompressionCodec
@Deprecated
public AvroCompressionCodec()
Deprecated
Creates a new instance of AvroCompressionCodec value.
Method Details
fromString
public static AvroCompressionCodec fromString(String name)
Creates or finds a AvroCompressionCodec from its string representation.
Parameters:
Returns:
values
public static Collection<AvroCompressionCodec> values()
Gets known AvroCompressionCodec values.
Returns: