156157158159160161162163
@Override public NumberType numberType() { try { return convertNumberType(parser.getNumberType()); } catch (IOException ex) { throw new EsHadoopSerializationException(ex); } }
165166167168169170171172
@Override public short shortValue() { try { return parser.getShortValue(); } catch (IOException ex) { throw new EsHadoopSerializationException(ex); } }
174175176177178179180181
@Override public int intValue() { try { return parser.getIntValue(); } catch (IOException ex) { throw new EsHadoopSerializationException(ex); } }
183184185186187188189190
@Override public long longValue() { try { return parser.getLongValue(); } catch (IOException ex) { throw new EsHadoopSerializationException(ex); } }
192193194195196197198199
@Override public float floatValue() { try { return parser.getFloatValue(); } catch (IOException ex) { throw new EsHadoopSerializationException(ex); } }
201202203204205206207208
@Override public double doubleValue() { try { return parser.getDoubleValue(); } catch (IOException ex) { throw new EsHadoopSerializationException(ex); } }
210211212213214215216217
@Override public boolean booleanValue() { try { return parser.getBooleanValue(); } catch (IOException ex) { throw new EsHadoopSerializationException(ex); } }
219220221222223224225226
@Override public byte[] binaryValue() { try { return parser.getBinaryValue(); } catch (IOException ex) { throw new EsHadoopSerializationException(ex); } }
228229230231232233234235
@Override public void close() { try { parser.close(); } catch (IOException ex) { throw new EsHadoopSerializationException(ex); } }
247248249250251252253
case BIG_INTEGER: return NumberType.DOUBLE; case BIG_DECIMAL: return NumberType.DOUBLE; } throw new EsHadoopSerializationException("No matching token for number_type [" + numberType + "]"); }