public final class StreamConfig extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
StreamConfig.Builder
A builder to help building instance of
StreamConfig. |
| Modifier and Type | Field and Description |
|---|---|
static co.cask.cdap.api.data.format.FormatSpecification |
DEFAULT_STREAM_FORMAT |
| Constructor and Description |
|---|
StreamConfig(Id.Stream streamId,
long partitionDuration,
long indexInterval,
long ttl,
Location location,
co.cask.cdap.api.data.format.FormatSpecification format,
int notificationThresholdMB) |
| Modifier and Type | Method and Description |
|---|---|
static StreamConfig.Builder |
builder(StreamConfig config) |
co.cask.cdap.api.data.format.FormatSpecification |
getFormat() |
long |
getIndexInterval() |
Location |
getLocation() |
int |
getNotificationThresholdMB() |
long |
getPartitionDuration() |
Id.Stream |
getStreamId() |
long |
getTTL() |
String |
toString() |
public static final co.cask.cdap.api.data.format.FormatSpecification DEFAULT_STREAM_FORMAT
public Id.Stream getStreamId()
public long getPartitionDuration()
public long getIndexInterval()
public long getTTL()
public Location getLocation()
public co.cask.cdap.api.data.format.FormatSpecification getFormat()
public int getNotificationThresholdMB()
public static StreamConfig.Builder builder(StreamConfig config)
Copyright © 2016 Cask Data, Inc. Licensed under the Apache License, Version 2.0.