private static String getRowIdColumn ( ConnectorTableMetadata meta ) { Optional < String > rowIdColumn = AccumuloTableProperties . getRowId ( meta . getProperties ( ) ) ; return rowIdColumn . orElse ( meta . getColumns ( ) . get ( 0 ) . getName ( ) ) . toLowerCase ( Locale . ENGLISH ) ; }
Gets the row ID based on a table properties or the first column name .