public int getMaximumRow() {
accessCheck();
if ( m_max == -1 && m_dynamic ) {
Index idx = m_table.getIndex(m_field);
if ( idx != null ) {
m_max = idx.maximum();
} else {
m_max = DataLib.max(m_table.tuples(), m_field, m_cmp).getRow();
}
}
return m_max;