/** * Returns persisted event instance contained in the result set row */ private PersistedEventImpl getEvent() throws IOException { // it is important to perform these steps on every invocation as the result // set advances outside this class final EmbedResultSet ers = this.ers; if (ers != null) { return getEvent(ers); } return null; }
/** * Get the type of DML operation that changed this row. * * @return the type of this {@link Operation}. * @throws IOException */ public Type getEventType() throws IOException { final EmbedResultSet ers = this.ers; if (ers != null) { return getEventType(getEvent(ers)); } else { return null; } }
/** * Get the type of DML operation that changed this row. * * @return the type of this {@link Operation}. * @throws IOException */ public Type getEventType() throws IOException { final EmbedResultSet ers = this.ers; if (ers != null) { return getEventType(getEvent(ers)); } else { return null; } }
/** * Returns persisted event instance contained in the result set row */ private PersistedEventImpl getEvent() throws IOException { // it is important to perform these steps on every invocation as the result // set advances outside this class final EmbedResultSet ers = this.ers; if (ers != null) { return getEvent(ers); } return null; }
/** * Get the type of DML operation that changed this row. * * @return the type of this {@link Operation}. * @throws IOException */ public Type getEventType() throws IOException { final EmbedResultSet ers = this.ers; if (ers != null) { return getEventType(getEvent(ers)); } else { return null; } }
/** * Returns persisted event instance contained in the result set row */ private PersistedEventImpl getEvent() throws IOException { // it is important to perform these steps on every invocation as the result // set advances outside this class final EmbedResultSet ers = this.ers; if (ers != null) { return getEvent(ers); } return null; }
/** * @return timestamp when this row operation was executed * @throws IOException */ public long getTimestamp() throws IOException { PersistedEventImpl event = getEvent(); return event == null ? 0L : event.getTimstamp(); }
/** * Indicates whether this row change event is a possibly duplicate. Duplicate * events may get persisted on HDFS when a fail-over happens during DML * statement execution. * * @return true if the event is a possible duplicate. * @throws IOException */ public boolean isPossibleDuplicate() throws IOException { PersistedEventImpl event = getEvent(); return event == null ? false : event.isPossibleDuplicate(); }
/** * Indicates whether this row change event is a possibly duplicate. Duplicate * events may get persisted on HDFS when a fail-over happens during DML * statement execution. * * @return true if the event is a possible duplicate. * @throws IOException */ public boolean isPossibleDuplicate() throws IOException { PersistedEventImpl event = getEvent(); return event == null ? false : event.isPossibleDuplicate(); }
/** * @return timestamp when this row operation was executed * @throws IOException */ public long getTimestamp() throws IOException { PersistedEventImpl event = getEvent(); return event == null ? 0L : event.getTimstamp(); }
/** * @return timestamp when this row operation was executed * @throws IOException */ public long getTimestamp() throws IOException { PersistedEventImpl event = getEvent(); return event == null ? 0L : event.getTimstamp(); }
/** * Indicates whether this row change event is a possibly duplicate. Duplicate * events may get persisted on HDFS when a fail-over happens during DML * statement execution. * * @return true if the event is a possible duplicate. * @throws IOException */ public boolean isPossibleDuplicate() throws IOException { PersistedEventImpl event = getEvent(); return event == null ? false : event.isPossibleDuplicate(); }