Class DocDBFieldResolver
- java.lang.Object
-
- com.amazonaws.athena.connectors.docdb.DocDBFieldResolver
-
- All Implemented Interfaces:
FieldResolver
public class DocDBFieldResolver extends Object implements FieldResolver
Used to resolve DocDB complex structures to Apache Arrow Types.- See Also:
FieldResolver
-
-
Field Summary
Fields Modifier and Type Field Description protected static FieldResolver
DEFAULT_FIELD_RESOLVER
-
Fields inherited from interface com.amazonaws.athena.connector.lambda.data.FieldResolver
DEFAULT
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
getFieldValue(org.apache.arrow.vector.types.pojo.Field field, Object value)
Used to extract a value for the given Field from the provided value.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.amazonaws.athena.connector.lambda.data.FieldResolver
getMapKey, getMapValue
-
-
-
-
Field Detail
-
DEFAULT_FIELD_RESOLVER
protected static final FieldResolver DEFAULT_FIELD_RESOLVER
-
-
Method Detail
-
getFieldValue
public Object getFieldValue(org.apache.arrow.vector.types.pojo.Field field, Object value)
Description copied from interface:FieldResolver
Used to extract a value for the given Field from the provided value.- Specified by:
getFieldValue
in interfaceFieldResolver
- Parameters:
field
- The field that we would like to extract from the provided value.value
- The complex value we'd like to extract the provided field from.- Returns:
- The value to use for the given field.
-
-