S3KeyMapping

binny.minio.S3KeyMapping$
See theS3KeyMapping companion trait
object S3KeyMapping

Attributes

Companion
trait
Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Value members

Concrete methods

def apply(f: BinaryId => S3Key, filter: String => Boolean): S3KeyMapping
def constant(bucket: String): S3KeyMapping

Puts everything into a single bucket.

Puts everything into a single bucket.

Attributes

def prefix(bucketPrefix: String, delimiter: Char): S3KeyMapping

Uses the id to generate buckets dynamically: Uses the first part of an id up to the delimiter char and concatenates this to the bucketPrefix. If the id doesn't contain the delimiter char, it will use bucketPrefix as the bucket name.

Uses the id to generate buckets dynamically: Uses the first part of an id up to the delimiter char and concatenates this to the bucketPrefix. If the id doesn't contain the delimiter char, it will use bucketPrefix as the bucket name.

Example:

given: bucketPrefix="myapp", delimiter='/', id=user1/uiae123
creates bucket: myapp-user1

Attributes