public interface StagingDirectoryProvider
Modifier and Type | Interface and Description |
---|---|
static class |
StagingDirectoryProvider.TrivialImpl
Trivial implementation of this interface - creates
|
Modifier and Type | Method and Description |
---|---|
String |
getStagingDirectory(String key)
Return a temporary staging directory for a given key
|
String getStagingDirectory(String key)
key
- key for the directory, usually a name of a partition
Note that when overriding this method, no guarantees are made about the
contents of the key, other than that is unique per partition.Copyright © 2017 The Apache Software Foundation. All rights reserved.