Пример #1
0
 /* XXX add equals for columns */
 public boolean equal(TableSplit split) {
   return Serialization.equals(m_tablename, split.m_tablename)
       && m_startrow.compareTo(split.getStartRow()) == 0
       && m_endrow.compareTo(split.getEndRow()) == 0
       && m_hostname.equals(split.m_hostname);
 }
Пример #2
0
 public int compareTo(TableSplit split) {
   return m_startrow.compareTo(split.getStartRow());
 }