public class Row extends Object implements org.apache.hadoop.io.Writable
| Constructor and Description |
|---|
Row() |
Row(com.pivotal.gemfirexd.internal.impl.jdbc.EmbedResultSet resultSet) |
| Modifier and Type | Method and Description |
|---|---|
com.pivotal.gemfirexd.internal.impl.jdbc.EmbedResultSet |
getEmbedResultSet() |
static com.gemstone.gemfire.cache.hdfs.internal.PersistedEventImpl |
getEvent(com.pivotal.gemfirexd.internal.impl.jdbc.EmbedResultSet ers) |
Event.Type |
getEventType()
Get the type of DML operation that changed this row.
|
static Event.Type |
getEventType(com.gemstone.gemfire.cache.hdfs.internal.PersistedEventImpl event) |
ResultSet |
getRowAsResultSet()
Get the changed row as a
ResultSet.TYPE_FORWARD_ONLY
ResultSet. |
long |
getTimestamp() |
boolean |
isPossibleDuplicate()
Indicates whether this row change event is a possibly duplicate.
|
void |
readFields(DataInput in) |
void |
write(DataOutput out) |
public Row()
public Row(com.pivotal.gemfirexd.internal.impl.jdbc.EmbedResultSet resultSet)
public final com.pivotal.gemfirexd.internal.impl.jdbc.EmbedResultSet getEmbedResultSet()
public final ResultSet getRowAsResultSet() throws IOException
ResultSet.TYPE_FORWARD_ONLY
ResultSet. The returned ResultSet is already positioned at
the returned single row with ResultSet.next() always returning
false, whose column values can be retrieved using the ResultSet getter
methods.IOExceptionpublic boolean isPossibleDuplicate()
throws IOException
IOExceptionpublic Event.Type getEventType() throws IOException
Operation.IOExceptionpublic static final Event.Type getEventType(com.gemstone.gemfire.cache.hdfs.internal.PersistedEventImpl event) throws IOException
IOExceptionpublic long getTimestamp()
throws IOException
IOExceptionpublic static final com.gemstone.gemfire.cache.hdfs.internal.PersistedEventImpl getEvent(com.pivotal.gemfirexd.internal.impl.jdbc.EmbedResultSet ers)
throws IOException
IOExceptionpublic void write(DataOutput out) throws IOException
write in interface org.apache.hadoop.io.WritableIOExceptionpublic void readFields(DataInput in) throws IOException
readFields in interface org.apache.hadoop.io.WritableIOExceptionCopyright © 2010-2015 Pivotal Software, Inc. All rights reserved.