public class Formats extends Object
| Constructor and Description |
|---|
Formats() |
| Modifier and Type | Method and Description |
|---|---|
static TransportFormat |
jsonFormat()
Defines the transport format JSON used by a data stream at runtime.
|
static TransportFormat |
thriftFormat()
Defines the transport format Apache Thrift used by a data stream at runtime.
|
public static TransportFormat jsonFormat()
TransportFormat of type JSON.public static TransportFormat thriftFormat()
TransportFormat of type Thrift.Copyright © 2018. All rights reserved.