@SuppressWarnings({"CloneDoesntCallSuperClone"}) @Override public PropertyList clone() { return new PropertyList(new ArrayList<Pair<String, String>>(list)); }
PropertyList list = new PropertyList(); list.put("Provider", "mondrian"); list.put("Jdbc", jdbcConnectionUrl);
void remove( final String catalogUrl, final DataSource dataSource) { final SchemaContentKey schemaContentKey = SchemaContentKey.create( new Util.PropertyList(), catalogUrl, null); final ConnectionKey connectionKey = ConnectionKey.create( null, dataSource, catalogUrl, null, null, null); final SchemaKey key = new SchemaKey(schemaContentKey, connectionKey); if (RolapSchema.LOGGER.isDebugEnabled()) { RolapSchema.LOGGER.debug( "Pool.remove: schema \"" + catalogUrl + "\" and datasource object"); } remove(key); }
PropertyList list = new PropertyList(); list.put("Provider", "mondrian"); list.put("Jdbc", se.getJdbcConnectionUrl());
if (connectString == null || connectString.equals("")) { connectProperties = new Util.PropertyList(); connectProperties.put( RolapConnectionProperties.Provider.name(),
void remove( final String catalogUrl, final String connectionKey, final String jdbcUser, final String dataSourceStr) { final SchemaContentKey schemaContentKey = SchemaContentKey.create( new Util.PropertyList(), catalogUrl, null); final ConnectionKey connectionUuid = ConnectionKey.create( null, null, catalogUrl, connectionKey, jdbcUser, dataSourceStr); final SchemaKey key = new SchemaKey(schemaContentKey, connectionUuid); if (RolapSchema.LOGGER.isDebugEnabled()) { RolapSchema.LOGGER.debug( "Pool.remove: schema \"" + catalogUrl + "\" and datasource string \"" + dataSourceStr + "\""); } remove(key); }
PropertyList parse() { PropertyList list = new PropertyList(); while (i < n) { parsePair(list); } return list; } /**
mondrian.olap.Util.PropertyList propList = new mondrian.olap.Util.PropertyList(); propList.put( "Provider", "mondrian" ); propList.put( "Catalog", space.environmentSubstitute( catalog ) );