@Test public void testWithSomeSet() throws IOException { Vertex testVertex = getConfig().getLogicalGraphFactory().getVertexFactory().createVertex(); testVertex.setProperty(KEY_a, valueA); List<PropertyValue> result = toList(new GetPropertiesAsList<>(testKeys).getKey(testVertex)); assertEquals(2, result.size()); assertEquals(valueA, result.get(0)); assertEquals(PropertyValue.NULL_VALUE, result.get(1)); }
@Override public PropertyValueList getKey(E element) throws IOException { return map(element); }
GetPropertiesAsList implements MapFunction<E, PropertyValueList>,
  KeySelector<E, PropertyValueList> { @Override public PropertyValueList getKey(E element) throws IOException { return map(element); } }
GetPropertiesAsList implements MapFunction<E, PropertyValueList>,
  KeySelector<E, PropertyValueList> { @Override public PropertyValueList getKey(E element) throws IOException { return map(element); } GetPropertiesAsList(List<String> propertyKeys); }
GetPropertiesAsList implements MapFunction<E, PropertyValueList>,
  KeySelector<E, PropertyValueList> { @Override public PropertyValueList getKey(E element) throws IOException { return map(element); } GetPropertiesAsList(List<String> propertyKeys); @Override PropertyValueList map(E element); @Override PropertyValueList getKey(E element); }
GetPropertiesAsList implements MapFunction<E, PropertyValueList>,
  KeySelector<E, PropertyValueList> { @Override public PropertyValueList getKey(E element) throws IOException { return map(element); } GetPropertiesAsList(List<String> propertyKeys); @Override PropertyValueList map(E element); @Override PropertyValueList getKey(E element);  }