aboutsummaryrefslogtreecommitdiffstats
path: root/store/src/main/java/tools/refinery/data/query/view/KeyOnlyRelationView.java
blob: 2cc1075249147c6f60f9a1a5cf7d7091f294fffe (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
package tools.refinery.data.query.view;

import tools.refinery.data.model.Tuple;
import tools.refinery.data.model.representation.Relation;

public class KeyOnlyRelationView extends FilteredRelationView<Boolean>{

	public KeyOnlyRelationView(Relation<Boolean> representation) {
		super(representation, (k,v)->true);
	}
	@Override
	protected boolean filter(Tuple key, Boolean value) {
		return true;
	}
	
}