Fileset.Type
Constructor and Description |
---|
FilesetDTO() |
Modifier and Type | Method and Description |
---|---|
AuditDTO |
auditInfo() |
java.lang.String |
comment() |
java.lang.String |
name() |
java.util.Map<java.lang.String,java.lang.String> |
properties() |
java.lang.String |
storageLocation()
Get the storage location of the file or directory path that is managed by this fileset object.
|
Fileset.Type |
type() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
supportsTags
public java.lang.String name()
@Nullable public java.lang.String comment()
public Fileset.Type type()
public java.lang.String storageLocation()
Fileset
The returned storageLocation can either be the one specified when creating the fileset object, or the one specified in the catalog / schema level if the fileset object is created under this catalog / schema.
For managed fileset, the storageLocation can be:
1) The one specified when creating the fileset object.
2) When catalog property "location" is specified but schema property "location" is not specified, then the storageLocation will be "{catalog location}/schemaName/filesetName".
3) When catalog property "location" is not specified but schema property "location" is specified, then the storageLocation will be "{schema location}/filesetName".
4) When both catalog property "location" and schema property "location" are specified, then the storageLocation will be "{schema location}/filesetName".
5) When both catalog property "location" and schema property "location" are not specified, and storageLocation specified when creating the fileset object is null, this situation is illegal.
For external fileset, the storageLocation can be:
1) The one specified when creating the fileset object.
storageLocation
in interface Fileset
public java.util.Map<java.lang.String,java.lang.String> properties()
properties
in interface Fileset