public DatabaseMetaData getMetaData ( ) throws SQLException { return new CommonDatabaseMetaData . Builder ( protocol . getDatabaseType ( ) , this ) . url ( "jdbc:drizzle://" + protocol . getHost ( ) + ":" + protocol . getPort ( ) + "/" + protocol . getDatabase ( ) ) . username ( protocol . getUsername ( ) ) . version ( protocol . getServerVersion ( ) ) . databaseProductName ( protocol . getDatabaseType ( ) . getDatabaseName ( ) ) . build ( ) ; }
returns the meta data about the database .