Package com.yahoo.document.internal
Class GeoPosType
java.lang.Object
com.yahoo.vespa.objects.Selectable
com.yahoo.vespa.objects.Identifiable
com.yahoo.document.DataType
com.yahoo.document.StructuredDataType
com.yahoo.document.BaseStructDataType
com.yahoo.document.StructDataType
com.yahoo.document.internal.GeoPosType
- All Implemented Interfaces:
Cloneable
,Comparable<DataType>
- Author:
- arnej
-
Field Summary
Fields inherited from class com.yahoo.document.StructDataType
classId
Fields inherited from class com.yahoo.document.BaseStructDataType
fieldIds, fields
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionfmtLatitude
(Struct pos) fmtLongitude
(Struct pos) double
getLatitude
(Struct pos) double
getLongitude
(Struct pos) boolean
Methods inherited from class com.yahoo.document.StructDataType
addField, assign, clone, createFieldValue, createFieldValue, equals, getField, getField, getFieldCount, getFields, getFieldsThisTypeOnly, getInheritedTypes, getValueClass, hashCode, inherit, inherits, isValueCompatible
Methods inherited from class com.yahoo.document.BaseStructDataType
assign, clearFields, hasField, hasField, removeField
Methods inherited from class com.yahoo.document.StructuredDataType
buildFieldPath, createByReflection, createId, getDataTypeName, register
Methods inherited from class com.yahoo.document.DataType
compareTo, getArray, getCode, getId, getMap, getName, getPrimitiveType, getTensor, getWeightedSet, getWeightedSet, isAssignableFrom, isMultivalue, isRegistered, lastPredefinedDataTypeId, register, setId, setName, toString, visitMembers
Methods inherited from class com.yahoo.vespa.objects.Identifiable
create, createFromId, deserialize, deserializeOptional, deserializeWithId, equals, getClassId, getRawUtf8Bytes, getUtf8, onDeserialize, onGetClassId, onSerialize, putUtf8, registerClass, registerClass, serialize, serializeOptional, serializeWithId
Methods inherited from class com.yahoo.vespa.objects.Selectable
select, select, selectMembers
-
Constructor Details
-
GeoPosType
public GeoPosType(int vespaVersion)
-
-
Method Details
-
renderJsonAsVespa8
public boolean renderJsonAsVespa8() -
getLatitude
-
getLongitude
-
fmtLatitude
-
fmtLongitude
-