blob: 8de8c7b64fdf4c3dbe3d4f1365f37ca4aee5fa12 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
// Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package com.yahoo.schema.document;
import com.yahoo.document.DataType;
/**
* Common interface for various typed key (or field definitions).
* Used by code which wants to use common algorithms for dealing with typed keys, like the logical mapping
*
* @author bratseth
*/
public interface TypedKey {
String getName();
void setDataType(DataType type);
DataType getDataType();
}
|