org.apache.hadoop.hdfs.inotify
Class Event.CreateEvent
java.lang.Object
org.apache.hadoop.hdfs.inotify.Event
org.apache.hadoop.hdfs.inotify.Event.CreateEvent
- Enclosing class:
- Event
public static class Event.CreateEvent
- extends Event
Sent when a new file is created (including overwrite).
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
getiNodeType
public Event.CreateEvent.INodeType getiNodeType()
getPath
public String getPath()
getCtime
public long getCtime()
- Creation time of the file, directory, or symlink.
getReplication
public int getReplication()
- Replication is zero if the CreateEvent iNodeType is directory or symlink.
getOwnerName
public String getOwnerName()
getGroupName
public String getGroupName()
getPerms
public org.apache.hadoop.fs.permission.FsPermission getPerms()
getSymlinkTarget
public String getSymlinkTarget()
- Symlink target is null if the CreateEvent iNodeType is not symlink.
getOverwrite
public boolean getOverwrite()
Copyright © 2014 Apache Software Foundation. All Rights Reserved.