public DBObject getObject ( TableDefinition tableDef , String objID ) { checkServiceState ( ) ; String storeName = objectsStoreName ( tableDef ) ; Tenant tenant = Tenant . getTenant ( tableDef ) ; Iterator < DColumn > colIter = DBService . instance ( tenant ) . getAllColumns ( storeName , objID ) . iterator ( ) ; if ( ! colIter . hasNext ( ) ) { return null ; } DBObject dbObj = createObject ( tableDef , objID , colIter ) ; addShardedLinkValues ( tableDef , dbObj ) ; return dbObj ; }
Get all scalar and link fields for the object in the given table with the given ID .