Connection function ( Configuration arg0 ) { return createConnection ( arg0 , null , null ) ; }
create a new connection instance using the passed conf instance . connection encapsulates all housekeeping for a connection to the cluster . all tables and interfaces created from returned connection share zookeeper connection , meta cache , and connections to region servers and masters . the caller is responsible for calling connection #close on the returnedconnection instance . typical usage : connection connection = connectionfactory.createconnection conf ; table table = connection.gettable tablename.valueof `` mytable '' ; try table.get ... ; ... finally table.close ; connection.close ; concode_field_sep PlaceHolder placeHolder concode_field_sep placeholderType placeHolder