public class ScalaRowValueReader extends ScalaValueReader implements RowValueReader, org.elasticsearch.hadoop.serialization.builder.ValueParsingCallback
Constructor and Description |
---|
ScalaRowValueReader() |
Modifier and Type | Method and Description |
---|---|
Object |
addToArray(Object array,
List<Object> values) |
void |
addToMap(Object map,
Object key,
Object value) |
void |
beginDoc() |
void |
beginGeoField() |
void |
beginLeadMetadata() |
void |
beginSource() |
void |
beginTrailMetadata() |
Object |
createArray(org.elasticsearch.hadoop.serialization.FieldType typ) |
Timestamp |
createDate(long value) |
Object |
createMap() |
scala.collection.Seq<String> |
currentArrayRowOrder() |
void |
endDoc() |
void |
endGeoField() |
void |
endLeadMetadata() |
void |
endSource() |
void |
endTrailMetadata() |
void |
excludeSource() |
boolean |
inArray() |
boolean |
metadataMap() |
Object |
readValue(org.elasticsearch.hadoop.serialization.Parser parser,
String value,
org.elasticsearch.hadoop.serialization.FieldType esType) |
boolean |
rootLevel() |
arrayDepth, arrayExclude, arrayInclude, binaryValue, booleanValue, byteValue, checkNull, createDate, date, doubleValue, emptyAsNull, floatValue, intValue, longValue, nullValue, parseBinary, parseBoolean, parseByte, parseDate, parseDouble, parseFloat, parseInt, parseLong, parseShort, parseText, richDate, setSettings, shortValue, textValue, wrapArray, wrapString
beginField, endField, getCurrentField
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addToBuffer, arrayFields, currentFieldIsGeo, metadataField, readMetadata, rowColumns, rowColumnsMap, setSettings, sparkRowField
public Object addToArray(Object array, List<Object> values)
addToArray
in interface org.elasticsearch.hadoop.serialization.builder.ValueReader
addToArray
in class ScalaValueReader
public void addToMap(Object map, Object key, Object value)
addToMap
in interface org.elasticsearch.hadoop.serialization.builder.ValueReader
addToMap
in class ScalaValueReader
public void beginDoc()
beginDoc
in interface org.elasticsearch.hadoop.serialization.builder.ValueParsingCallback
public void beginGeoField()
beginGeoField
in interface org.elasticsearch.hadoop.serialization.builder.ValueParsingCallback
public void beginLeadMetadata()
beginLeadMetadata
in interface org.elasticsearch.hadoop.serialization.builder.ValueParsingCallback
public void beginSource()
beginSource
in interface org.elasticsearch.hadoop.serialization.builder.ValueParsingCallback
public void beginTrailMetadata()
beginTrailMetadata
in interface org.elasticsearch.hadoop.serialization.builder.ValueParsingCallback
public Object createArray(org.elasticsearch.hadoop.serialization.FieldType typ)
createArray
in interface org.elasticsearch.hadoop.serialization.builder.ValueReader
createArray
in class ScalaValueReader
public Timestamp createDate(long value)
createDate
in class ScalaValueReader
public Object createMap()
createMap
in interface org.elasticsearch.hadoop.serialization.builder.ValueReader
createMap
in class ScalaValueReader
public scala.collection.Seq<String> currentArrayRowOrder()
public void endDoc()
endDoc
in interface org.elasticsearch.hadoop.serialization.builder.ValueParsingCallback
public void endGeoField()
endGeoField
in interface org.elasticsearch.hadoop.serialization.builder.ValueParsingCallback
public void endLeadMetadata()
endLeadMetadata
in interface org.elasticsearch.hadoop.serialization.builder.ValueParsingCallback
public void endSource()
endSource
in interface org.elasticsearch.hadoop.serialization.builder.ValueParsingCallback
public void endTrailMetadata()
endTrailMetadata
in interface org.elasticsearch.hadoop.serialization.builder.ValueParsingCallback
public void excludeSource()
excludeSource
in interface org.elasticsearch.hadoop.serialization.builder.ValueParsingCallback
public boolean inArray()
public boolean metadataMap()
public Object readValue(org.elasticsearch.hadoop.serialization.Parser parser, String value, org.elasticsearch.hadoop.serialization.FieldType esType)
readValue
in interface org.elasticsearch.hadoop.serialization.builder.ValueReader
readValue
in class ScalaValueReader
public boolean rootLevel()