## Uses of Interface
org.apache.storm.hdfs.bolt.rotation.FileRotationPolicy

- Packages that use FileRotationPolicy
  Package | Description
  --- | ---
  org.apache.storm.hdfs.bolt |
  org.apache.storm.hdfs.bolt.rotation |
  org.apache.storm.hdfs.common |

- - ### Uses of FileRotationPolicy in org.apache.storm.hdfs.bolt

    Fields in org.apache.storm.hdfs.bolt declared as FileRotationPolicy
    Modifier and Type | Field and Description
    --- | ---
    `protected FileRotationPolicy` | AbstractHdfsBolt.`rotationPolicy`

    Methods in org.apache.storm.hdfs.bolt with parameters of type FileRotationPolicy
    Modifier and Type | Method and Description
    --- | ---
    `HdfsBolt` | HdfsBolt.`withRotationPolicy(FileRotationPolicy rotationPolicy)`
    `SequenceFileBolt` | SequenceFileBolt.`withRotationPolicy(FileRotationPolicy rotationPolicy)`
    `AvroGenericRecordBolt` | AvroGenericRecordBolt.`withRotationPolicy(FileRotationPolicy rotationPolicy)`

  - ### Uses of FileRotationPolicy in org.apache.storm.hdfs.bolt.rotation

    Classes in org.apache.storm.hdfs.bolt.rotation that implement FileRotationPolicy
    Modifier and Type | Class and Description
    --- | ---
    `class` | `FileSizeRotationPolicy` File rotation policy that will rotate files when a certain file size is reached.
    `class` | `NoRotationPolicy` File rotation policy that will never rotate… Just one big file.
    `class` | `TimedRotationPolicy`

    Methods in org.apache.storm.hdfs.bolt.rotation that return FileRotationPolicy
    Modifier and Type | Method and Description
    --- | ---
    `FileRotationPolicy` | TimedRotationPolicy.`copy()`
    `FileRotationPolicy` | NoRotationPolicy.`copy()`
    `FileRotationPolicy` | FileRotationPolicy.`copy()` Must be able to copy the rotation policy.
    `FileRotationPolicy` | FileSizeRotationPolicy.`copy()`

  - ### Uses of FileRotationPolicy in org.apache.storm.hdfs.common

    Fields in org.apache.storm.hdfs.common declared as FileRotationPolicy
    Modifier and Type | Field and Description
    --- | ---
    `protected FileRotationPolicy` | AbstractHDFSWriter.`rotationPolicy`

    Constructors in org.apache.storm.hdfs.common with parameters of type FileRotationPolicy
    Constructor and Description
    `AbstractHDFSWriter(FileRotationPolicy policy, org.apache.hadoop.fs.Path path)`
    `AvroGenericRecordHDFSWriter(FileRotationPolicy policy, org.apache.hadoop.fs.Path path, org.apache.hadoop.fs.FSDataOutputStream stream, org.apache.avro.Schema schema)`
    `HDFSWriter(FileRotationPolicy policy, org.apache.hadoop.fs.Path path, org.apache.hadoop.fs.FSDataOutputStream out, RecordFormat format)`
    `SequenceFileWriter(FileRotationPolicy policy, org.apache.hadoop.fs.Path path, org.apache.hadoop.io.SequenceFile.Writer writer, SequenceFormat format)`

Copyright © 2021 The Apache Software Foundation. All rights reserved.