Class Event.CreateEvent

java.lang.Object
org.apache.hadoop.hdfs.inotify.Event
org.apache.hadoop.hdfs.inotify.Event.CreateEvent
Enclosing class:
Event

@Public public static class Event.CreateEvent extends Event
Sent when a new file is created (including overwrite).
  • Method Details

    • 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 FsPermission getPerms()
    • getSymlinkTarget

      public String getSymlinkTarget()
      Symlink target is null if the CreateEvent iNodeType is not symlink.
    • getOverwrite

      public boolean getOverwrite()
    • getDefaultBlockSize

      public long getDefaultBlockSize()
    • isErasureCoded

      public Optional<Boolean> isErasureCoded()
    • toString

      @Unstable public String toString()
      Overrides:
      toString in class Object