org.deegree.feature.persistence.query.Query.<init>()方法的使用及代码示例

x33g5p2x  于2022-01-28 转载在 其他  
字(1.8k)|赞(0)|评价(0)|浏览(120)

本文整理了Java中org.deegree.feature.persistence.query.Query.<init>方法的一些代码示例,展示了Query.<init>的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Query.<init>方法的具体详情如下:
包路径:org.deegree.feature.persistence.query.Query
类名称:Query
方法名:<init>

Query.<init>介绍

[英]Creates a new Query instance.
[中]创建一个新的查询实例。

代码示例

代码示例来源:origin: deegree/deegree3

static Query createQuery( QName ftName, Filter filter, int scale, int maxFeatures, double resolution,
             SortProperty[] sort ) {
  TypeName[] typeNames = new TypeName[] { new TypeName( ftName, null ) };
  return new Query( typeNames, filter, sort, scale, maxFeatures, resolution );
}

代码示例来源:origin: deegree/deegree3

private IdFilter getIdFilter( QName ftName, OperatorFilter filter )
            throws FeatureStoreException {
  Set<String> ids = new HashSet<String>();
  Query query = new Query( ftName, filter, -1, -1, -1 );
  FeatureInputStream rs = null;
  try {
    rs = fs.query( query );
    for ( Feature feature : rs ) {
      ids.add( feature.getId() );
    }
  } catch ( FilterEvaluationException e ) {
    throw new FeatureStoreException( e );
  } finally {
    if ( rs != null ) {
      rs.close();
    }
  }
  return new IdFilter( ids );
}

代码示例来源:origin: deegree/deegree3

throws FeatureStoreException {
final List<String> updatedFids = new ArrayList<String>();
final Query query = new Query( ftName, filter, -1, -1, -1 );
final StringBuilder sql = new StringBuilder( "UPDATE " );
sql.append( blobMapping.getTable() );

代码示例来源:origin: deegree/deegree3

Query query = new Query( new TypeName[] { new TypeName( ftName, null ) }, filter, null, null, null );

代码示例来源:origin: deegree/deegree3

queries.add( new Query( new TypeName[] { tn }, f, null, null, null ) );

代码示例来源:origin: deegree/deegree3

Query q = new Query( this.rootFT, Filters.addBBoxConstraint( tileEnv, null, null, false ), -1, -1, -1 );
FeatureInputStream frs = null;
long sT = currentTimeMillis();

代码示例来源:origin: deegree/deegree3

return new Query( typeNames, filter, ( (AdHocQuery) wfsQuery ).getFeatureVersion(),
         ( (AdHocQuery) wfsQuery ).getSrsName(), sortProps );

相关文章