blob: da65dde72da1c85628e76665b634a88482e24fca (
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
24
25
26
27
28
|
// Copyright 2016 Yahoo Inc. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package com.yahoo.document;
import com.yahoo.document.datatypes.FieldValue;
/**
* @author <a href="mailto:einarmr@yahoo-inc.com">Einar M R Rosenvinge</a>
*/
class TemporaryDataType extends DataType {
TemporaryDataType(int dataTypeId) {
super("temporary_" + dataTypeId, dataTypeId);
}
@Override
public FieldValue createFieldValue() {
return null;
}
@Override
public Class getValueClass() {
return null;
}
@Override
public boolean isValueCompatible(FieldValue value) {
return false;
}
}
|