blob: 491cee9f0646c4f3941e753ddcdb7e4a000e26b7 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
// Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package com.yahoo.vespa.indexinglanguage.expressions;
import com.yahoo.document.PrimitiveDataType;
import com.yahoo.document.datatypes.FieldValue;
/**
* @author Simon Thoresen Hult
*/
final class UnresolvedDataType extends PrimitiveDataType {
public static final UnresolvedDataType INSTANCE = new UnresolvedDataType();
private UnresolvedDataType() {
super("any", -69, UnresolvedFieldValue.class, UnresolvedFieldValue.getFactory());
}
@Override
public boolean isValueCompatible(FieldValue value) {
return value != null;
}
}
|