@Override public Object deserializeKey(String key, DeserializationContext ctxt) throws IOException { return JobVertexID.fromHexString(key); } }
@Override public Object deserializeKey(String key, DeserializationContext ctxt) throws IOException { return JobVertexID.fromHexString(key); } }
@Override public Object deserializeKey(String key, DeserializationContext ctxt) throws IOException { return JobVertexID.fromHexString(key); } }
@Override protected JobVertexID convertFromString(String value) throws ConversionException { return JobVertexID.fromHexString(value); }
@Override protected JobVertexID convertFromString(String value) throws ConversionException { return JobVertexID.fromHexString(value); }
@Override protected JobVertexID convertFromString(String value) throws ConversionException { return JobVertexID.fromHexString(value); }
/** * Returns the job vertex ID parsed from the provided parameters. * * @param params Path parameters * @return Parsed job vertex ID or <code>null</code> if not available. */ public static JobVertexID parseJobVertexId(Map<String, String> params) { String jobVertexIdParam = params.get("vertexid"); if (jobVertexIdParam == null) { return null; } try { return JobVertexID.fromHexString(jobVertexIdParam); } catch (RuntimeException ignored) { return null; } }
/** * Returns the job vertex ID parsed from the provided parameters. * * @param params Path parameters * @return Parsed job vertex ID or <code>null</code> if not available. */ public static JobVertexID parseJobVertexId(Map<String, String> params) { String jobVertexIdParam = params.get("vertexid"); if (jobVertexIdParam == null) { return null; } try { return JobVertexID.fromHexString(jobVertexIdParam); } catch (RuntimeException ignored) { return null; } }
@Override public JobVertexID deserialize(JsonParser p, DeserializationContext ctxt) throws IOException { return JobVertexID.fromHexString(p.getValueAsString()); } }
@Override public JobVertexID deserialize(JsonParser p, DeserializationContext ctxt) throws IOException { return JobVertexID.fromHexString(p.getValueAsString()); } }
@Override public JobVertexID deserialize(JsonParser p, DeserializationContext ctxt) throws IOException { return JobVertexID.fromHexString(p.getValueAsString()); } }