public class Row
extends java.lang.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) |
java.sql.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(java.io.DataInput in) |
void |
write(java.io.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 java.sql.ResultSet getRowAsResultSet()
throws java.io.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.java.io.IOExceptionpublic boolean isPossibleDuplicate()
throws java.io.IOException
java.io.IOExceptionpublic Event.Type getEventType() throws java.io.IOException
Operation.java.io.IOExceptionpublic static final Event.Type getEventType(com.gemstone.gemfire.cache.hdfs.internal.PersistedEventImpl event) throws java.io.IOException
java.io.IOExceptionpublic long getTimestamp()
throws java.io.IOException
java.io.IOExceptionpublic static final com.gemstone.gemfire.cache.hdfs.internal.PersistedEventImpl getEvent(com.pivotal.gemfirexd.internal.impl.jdbc.EmbedResultSet ers)
throws java.io.IOException
java.io.IOExceptionpublic void write(java.io.DataOutput out)
throws java.io.IOException
write in interface org.apache.hadoop.io.Writablejava.io.IOExceptionpublic void readFields(java.io.DataInput in)
throws java.io.IOException
readFields in interface org.apache.hadoop.io.Writablejava.io.IOExceptionCopyright © 2010-2015 Pivotal Software, Inc. All rights reserved.