• 如果您觉得本站非常有看点,那么赶紧使用Ctrl+D 收藏吧

Java Meets类的典型用法和代码示例

java 2次浏览

本文整理汇总了Java中org.opengis.filter.temporal.Meets的典型用法代码示例。如果您正苦于以下问题:Java Meets类的具体用法?Java Meets怎么用?Java Meets使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。

Meets类属于org.opengis.filter.temporal包,在下文中一共展示了Meets类的6个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的Java代码示例。

示例1: visit

点赞 2

import org.opengis.filter.temporal.Meets; //导入依赖的package包/类
@Override
public Object visit(
		final Meets meets,
		final Object data ) {
	final TemporalConstraints leftResult = (TemporalConstraints) meets.getExpression1().accept(
			this,
			data);

	final TemporalConstraints rightResult = (TemporalConstraints) meets.getExpression2().accept(
			this,
			data);

	if (leftResult.isEmpty() || rightResult.isEmpty()) {
		return new TemporalConstraints();
	}

	// property ends value
	if (leftResult instanceof ParameterTimeConstraint) {
		return new ParameterTimeConstraint(
				new TemporalRange(
						TemporalRange.START_TIME,
						rightResult.getMinOr(
								TemporalRange.END_TIME,
								0)),
				leftResult.getName());
	}
	else if (rightResult instanceof ParameterTimeConstraint) {
		return new ParameterTimeConstraint(
				rightResult.getName());
	}
	// property ended by property
	return new TemporalConstraints();
}
 

开发者ID:locationtech,
项目名称:geowave,
代码行数:34,
代码来源:ExtractTimeFilterVisitor.java

示例2: visit

点赞 2

import org.opengis.filter.temporal.Meets; //导入依赖的package包/类
@Override
public Object visit(
		final Meets meets,
		final Object extraData ) {
	if (!usesProperty(meets)) {
		return Filter.INCLUDE;
	}
	return super.visit(
			meets,
			extraData);
}
 

开发者ID:locationtech,
项目名称:geowave,
代码行数:12,
代码来源:PropertyIgnoringFilterVisitor.java

示例3: visit

点赞 2

import org.opengis.filter.temporal.Meets; //导入依赖的package包/类
public Object visit(Meets meets, Object extraData) {
    return visitBinaryTemporalOperator(meets, extraData);
}
 

开发者ID:ngageoint,
项目名称:elasticgeo,
代码行数:4,
代码来源:FilterToElastic.java

示例4: visit

点赞 2

import org.opengis.filter.temporal.Meets; //导入依赖的package包/类
@Override
public Object visit(Meets meets, Object o) {
    throw new UnsupportedOperationException("Not supported yet."); //To change body of generated methods, choose Tools | Templates.
}
 

开发者ID:DennisPallett,
项目名称:gt-jdbc-monetdb-simple,
代码行数:5,
代码来源:FilterToSQL.java

示例5: visit

点赞 2

import org.opengis.filter.temporal.Meets; //导入依赖的package包/类
@Override
public Object visit(
		final Meets meets,
		final Object data ) {
	return new PropertyConstraintSet();
}
 

开发者ID:locationtech,
项目名称:geowave,
代码行数:7,
代码来源:PropertyFilterVisitor.java

示例6: visit

点赞 2

import org.opengis.filter.temporal.Meets; //导入依赖的package包/类
/** {@inheritDoc} */
@Override
public Object visit(Meets meets, Object extraData) {
	throw new UnsupportedOperationException("visit(Object userData)");
}
 

开发者ID:geomajas,
项目名称:geomajas-project-server,
代码行数:6,
代码来源:CriteriaVisitor.java


版权声明:本文转自网络文章,转载此文章仅为分享知识,如有侵权,请联系管理员进行删除。
喜欢 (0)