public final class StreamFileOffset extends Object
| Constructor and Description |
|---|
StreamFileOffset(Location eventLocation,
long offset,
int generation) |
StreamFileOffset(StreamFileOffset other)
Clones from another
StreamFileOffset. |
StreamFileOffset(StreamFileOffset other,
long offset)
Clones from another
StreamFileOffset but with a different offset value. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
Location |
getEventLocation() |
int |
getGeneration() |
Location |
getIndexLocation() |
String |
getNamePrefix() |
long |
getOffset() |
long |
getPartitionEnd() |
long |
getPartitionStart() |
int |
getSequenceId() |
int |
hashCode() |
String |
toString() |
public StreamFileOffset(StreamFileOffset other)
StreamFileOffset.other - The instance to clone from.public StreamFileOffset(StreamFileOffset other, long offset)
StreamFileOffset but with a different offset value.other - The instance to clone fromoffset - file offsetpublic StreamFileOffset(Location eventLocation, long offset, int generation)
public Location getEventLocation()
public Location getIndexLocation()
public long getOffset()
public long getPartitionStart()
public long getPartitionEnd()
public String getNamePrefix()
public int getSequenceId()
public int getGeneration()
Copyright © 2016 Cask Data, Inc. Licensed under the Apache License, Version 2.0.