graphdb/src/main/java/com/tinkerpop/blueprints/impls/orient/OrientVertex.java
@Override
  public Set<String> getPropertyKeys() {
    final OrientBaseGraph graph = setCurrentGraphInThreadLocal();

    final ODocument doc = getRecord();

    final Set<String> result = new HashSet<String>();

    for (String field : doc.fieldNames())
      if (graph != null && settings.isUseVertexFieldsForEdgeLabels()) {
        if (!field.startsWith(CONNECTION_OUT_PREFIX) && !field.startsWith(CONNECTION_IN_PREFIX))
          result.add(field);
      } else if (!field.equals(OrientBaseGraph.CONNECTION_OUT) && !field.equals(OrientBaseGraph.CONNECTION_IN))
        result.add(field);

    return result;
  }
@Override
  public Set<String> getPropertyKeys() {
    final OrientBaseGraph graph = setCurrentGraphInThreadLocal();

    final ODocument doc = getRecord();

    final Set<String> result = new HashSet<String>();

    for (String field : doc.fieldNames())
      if (graph != null && settings.isUseVertexFieldsForEdgeLabels()) {
        if (!field.startsWith(CONNECTION_OUT_PREFIX) && !field.startsWith(CONNECTION_IN_PREFIX))
          result.add(field);
      } else if (!field.equals(OrientBaseGraph.CONNECTION_OUT) && !field.equals(OrientBaseGraph.CONNECTION_IN))
        result.add(field);

    return result;
  }
@ Override public Set < String > getPropertyKeys ( ) { final OrientBaseGraph graph = setCurrentGraphInThreadLocal ( ) ; final ODocument doc = getRecord ( ) ; final Set < String > result = new HashSet < String > ( ) ; for ( String field : doc . fieldNames ( ) ) if ( graph != null && settings . isUseVertexFieldsForEdgeLabels ( ) ) { if ( ! field . startsWith ( CONNECTION_OUT_PREFIX ) && ! field . startsWith ( CONNECTION_IN_PREFIX ) ) result . add ( field ) ; } else if ( ! field . equals ( OrientBaseGraph . CONNECTION_OUT ) && ! field . equals ( OrientBaseGraph . CONNECTION_IN ) ) result . add ( field ) ; return result ; }
Returns all the Property names as Set of String. out, in and label are not returned as properties even if are part of the
underlying document because are considered internal properties.
Returns all the Property names as Set of String . out in and label are not returned as properties even if are part of the underlying document because are considered internal properties .