Package weave.config.DataConfig

Examples of weave.config.DataConfig.DataEntity


  /////////////////////
  // helper functions
 
  private DataEntity getColumnEntity(int columnId) throws RemoteException
  {
    DataEntity entity = getDataConfig().getEntity(columnId);
   
    if (entity == null)
      throw new RemoteException("No column with id " + columnId);
   
    String entityType = entity.publicMetadata.get(PublicMetadata.ENTITYTYPE);
View Full Code Here


   */
  @SuppressWarnings("unchecked")
  public AttributeColumnData getColumn(Object columnId, double minParam, double maxParam, String[] sqlParams)
    throws RemoteException
  {
    DataEntity entity = null;
   
    if (columnId instanceof Map)
    {
      @SuppressWarnings({ "rawtypes" })
      Map metadata = (Map)columnId;
View Full Code Here

  /////////////////////
  // geometry columns
 
  public byte[] getGeometryStreamMetadataTiles(int columnId, int[] tileIDs) throws RemoteException
  {
    DataEntity entity = getColumnEntity(columnId);
    if (tileIDs == null || tileIDs.length == 0)
      throw new RemoteException("At least one tileID must be specified.");
    return (byte[]) getGeometryData(entity, GeomStreamComponent.METADATA_TILES, tileIDs);
  }
View Full Code Here

    return (byte[]) getGeometryData(entity, GeomStreamComponent.METADATA_TILES, tileIDs);
  }
 
  public byte[] getGeometryStreamGeometryTiles(int columnId, int[] tileIDs) throws RemoteException
  {
    DataEntity entity = getColumnEntity(columnId);
    if (tileIDs == null || tileIDs.length == 0)
      throw new RemoteException("At least one tileID must be specified.");
    return (byte[]) getGeometryData(entity, GeomStreamComponent.GEOMETRY_TILES, tileIDs);
  }
View Full Code Here

TOP

Related Classes of weave.config.DataConfig.DataEntity

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.