public static class SegmentGraph.Builder extends Object
SegmentGraph
command.Modifier and Type | Method and Description |
---|---|
Runnable |
build() |
SegmentGraph.Builder |
withEpoch(Date epoch)
Filter out segments that were created before the specified epoch.
|
SegmentGraph.Builder |
withFilter(String filter)
A regular expression that can be used to select a specific subset of
the segments.
|
SegmentGraph.Builder |
withOutput(OutputStream out)
The destination of the output of the command.
|
SegmentGraph.Builder |
withPath(File path)
The path to an existing segment store.
|
public SegmentGraph.Builder withPath(File path)
path
- the path to an existing segment store.public SegmentGraph.Builder withEpoch(Date epoch)
epoch
- the minimum creation time of the reported segments.public SegmentGraph.Builder withFilter(String filter)
filter
- a regular expression.public SegmentGraph.Builder withOutput(OutputStream out)
out
- the destination of the output of the command.public Runnable build()
Copyright © 2012-2016 The Apache Software Foundation. All Rights Reserved.