public class IgfsListingEntry extends Object implements Externalizable, Binarylizable
| Constructor and Description |
|---|
IgfsListingEntry()
Empty constructor required by
Externalizable. |
IgfsListingEntry(IgfsEntryInfo fileInfo)
Constructor.
|
IgfsListingEntry(IgniteUuid id,
boolean dir)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object other) |
IgniteUuid |
fileId() |
int |
hashCode() |
boolean |
isDirectory() |
boolean |
isFile() |
void |
readBinary(BinaryReader reader)
Reads fields from provided reader.
|
void |
readExternal(ObjectInput in) |
String |
toString() |
void |
writeBinary(BinaryWriter writer)
Writes fields to provided writer.
|
void |
writeExternal(ObjectOutput out) |
public IgfsListingEntry()
Externalizable.public IgfsListingEntry(IgfsEntryInfo fileInfo)
fileInfo - File info to construct listing entry from.public IgfsListingEntry(IgniteUuid id, boolean dir)
id - File ID.dir - Directory marker.public IgniteUuid fileId()
public boolean isFile()
True if entry represents file.public boolean isDirectory()
True if entry represents directory.public void writeExternal(ObjectOutput out) throws IOException
writeExternal in interface ExternalizableIOExceptionpublic void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal in interface ExternalizableIOExceptionClassNotFoundExceptionpublic void writeBinary(BinaryWriter writer) throws BinaryObjectException
writeBinary in interface Binarylizablewriter - Binary object writer.BinaryObjectException - In case of error.public void readBinary(BinaryReader reader) throws BinaryObjectException
readBinary in interface Binarylizablereader - Binary object reader.BinaryObjectException - In case of error.
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.8.0 Release Date : February 27 2020