Class ADLSFileInfo
java.lang.Object
org.apache.nifi.processors.azure.storage.utils.ADLSFileInfo
- All Implemented Interfaces:
Serializable,Comparable<ADLSFileInfo>,ListableEntity
public class ADLSFileInfo
extends Object
implements Comparable<ADLSFileInfo>, Serializable, ListableEntity
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final Comparator<ADLSFileInfo> private static final Stringprivate final Stringprivate static final Stringprivate static final Stringprivate static final Stringprivate final Stringprivate final Stringprivate static final Stringprivate static final Stringprivate final longprivate final longprivate static final Stringprivate static final RecordSchema -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintcompareTo(ADLSFileInfo other) booleangetEtag()longlonggetName()static RecordSchemalonggetSize()longinthashCode()toRecord()
-
Field Details
-
FILESYSTEM
- See Also:
-
FILE_PATH
- See Also:
-
DIRECTORY
- See Also:
-
FILENAME
- See Also:
-
LENGTH
- See Also:
-
LAST_MODIFIED
- See Also:
-
ETAG
- See Also:
-
SCHEMA
-
COMPARATOR
-
fileSystem
-
filePath
-
length
private final long length -
lastModified
private final long lastModified -
etag
-
-
Constructor Details
-
ADLSFileInfo
-
-
Method Details
-
getFileSystem
-
getFilePath
-
getLength
public long getLength() -
getLastModified
public long getLastModified() -
getEtag
-
getDirectory
-
getFilename
-
getName
- Specified by:
getNamein interfaceListableEntity
-
getIdentifier
- Specified by:
getIdentifierin interfaceListableEntity
-
getTimestamp
public long getTimestamp()- Specified by:
getTimestampin interfaceListableEntity
-
getSize
public long getSize()- Specified by:
getSizein interfaceListableEntity
-
getRecordSchema
-
toRecord
- Specified by:
toRecordin interfaceListableEntity
-
equals
-
hashCode
public int hashCode() -
compareTo
- Specified by:
compareToin interfaceComparable<ADLSFileInfo>
-