Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[geowave-dev] Error creating AccumuloRowId object

Hi,

i need to get getInsertionId from the AccumuloRowId class. But when i execute following code,i get and error from AccumuloRowId constructor.

does any one have any idea?


my code:

Authorizations auths = new Authorizations();
Scanner scan = conn.createScanner("accumulo.metadata", auths);
System.out.println(scan.getBatchSize());

for (Entry<Key, Value> entry : scan) {
Key k = entry.getKey();

try {
AccumuloRowId id = new AccumuloRowId(k);
System.out.println(k);
} catch (Exception e) {
}

}

Thanks and Regards.

Rukshan Chathuranga.
Department Of Computer Science & Engineering,
Faculty Of Engineering,
University Of Moratuwa. Sri Lanka.

Back to the top