org.apache.hadoop.hdfs.inotify
Class Event.CreateEvent

java.lang.Object
  extended by org.apache.hadoop.hdfs.inotify.Event
      extended by 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).


Nested Class Summary
static class Event.CreateEvent.Builder
           
static class Event.CreateEvent.INodeType
           
 
Nested classes/interfaces inherited from class org.apache.hadoop.hdfs.inotify.Event
Event.AppendEvent, Event.CloseEvent, Event.CreateEvent, Event.EventType, Event.MetadataUpdateEvent, Event.RenameEvent, Event.UnlinkEvent
 
Method Summary
 long getCtime()
          Creation time of the file, directory, or symlink.
 String getGroupName()
           
 Event.CreateEvent.INodeType getiNodeType()
           
 boolean getOverwrite()
           
 String getOwnerName()
           
 String getPath()
           
 org.apache.hadoop.fs.permission.FsPermission getPerms()
           
 int getReplication()
          Replication is zero if the CreateEvent iNodeType is directory or symlink.
 String getSymlinkTarget()
          Symlink target is null if the CreateEvent iNodeType is not symlink.
 
Methods inherited from class org.apache.hadoop.hdfs.inotify.Event
getEventType
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

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.