Event.AppendEvent, Event.CloseEvent, Event.CreateEvent, Event.MetadataUpdateEvent, Event.RenameEvent, Event.TruncateEvent, Event.UnlinkEvent| Constructor and Description | 
|---|
TruncateEvent(String path,
             long fileSize,
             long timestamp)  | 
| Modifier and Type | Method and Description | 
|---|---|
long | 
getFileSize()
The size of the truncated file in bytes. 
 | 
String | 
getPath()  | 
long | 
getTimestamp()
The time when this event occurred, in milliseconds since the epoch. 
 | 
String | 
toString()  | 
getEventTypepublic TruncateEvent(String path, long fileSize, long timestamp)
public String getPath()
public long getFileSize()
public long getTimestamp()
Copyright © 2020 Apache Software Foundation. All rights reserved.