Package com.yahoo.document
Class PositionDataType
- java.lang.Object
-
- com.yahoo.document.PositionDataType
-
public final class PositionDataType extends Object
- Author:
- Simon Thoresen Hult
-
-
Field Summary
Fields Modifier and Type Field Description static String
FIELD_X
static String
FIELD_Y
static StructDataType
INSTANCE
static String
STRUCT_NAME
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Struct
fromLong(long val)
static Struct
fromString(String str)
static String
getDistanceSummaryFieldName(String fieldName)
static String
getPositionSummaryFieldName(String fieldName)
static IntegerFieldValue
getXValue(FieldValue pos)
static IntegerFieldValue
getYValue(FieldValue pos)
static String
getZCurveFieldName(String fieldName)
static String
renderAsString(Struct pos)
static void
renderXml(Struct pos, XmlStream target)
static Struct
valueOf(Integer x, Integer y)
-
-
-
Field Detail
-
INSTANCE
public static final StructDataType INSTANCE
-
STRUCT_NAME
public static final String STRUCT_NAME
- See Also:
- Constant Field Values
-
FIELD_X
public static final String FIELD_X
- See Also:
- Constant Field Values
-
FIELD_Y
public static final String FIELD_Y
- See Also:
- Constant Field Values
-
-
Method Detail
-
fromLong
public static Struct fromLong(long val)
-
getXValue
public static IntegerFieldValue getXValue(FieldValue pos)
-
getYValue
public static IntegerFieldValue getYValue(FieldValue pos)
-
-