private String getTable ( ) { if ( ! _tableChecked ) { if ( ! _dataStore . getTableExists ( _tableName ) ) { _dataStore . createTable ( _tableName , new TableOptionsBuilder ( ) . setPlacement ( _tablePlacement ) . build ( ) , ImmutableMap . < String , Object > of ( ) , new AuditBuilder ( ) . setLocalHost ( ) . setComment ( "Create scan status table" ) . build ( ) ) ; _tableChecked = true ; } } return _tableName ; }
Returns the scan status table name . On the first call it also verifies that the table exists then skips this check on future calls .