graphdb/src/main/java/com/tinkerpop/blueprints/impls/orient/OrientVertex.java
public Object execute(final OCommandPredicate iPredicate) {
    final Object result = iPredicate.evaluate(rawElement.getRecord(), null, null);

    if (result instanceof OAutoConvertToRecord)
      ((OAutoConvertToRecord) result).setAutoConvertToRecord(true);

    return result;
  }
public Object execute(final OCommandPredicate iPredicate) {
    final Object result = iPredicate.evaluate(rawElement.getRecord(), null, null);

    if (result instanceof OAutoConvertToRecord)
      ((OAutoConvertToRecord) result).setAutoConvertToRecord(true);

    return result;
  }
public Object execute ( final OCommandPredicate iPredicate ) { final Object result = iPredicate . evaluate ( rawElement . getRecord ( ) , null , null ) ; if ( result instanceof OAutoConvertToRecord ) ( ( OAutoConvertToRecord ) result ) . setAutoConvertToRecord ( true ) ; return result ; }
(Blueprints Extension) Executes the command predicate against current vertex. Use OSQLPredicate to execute SQL. Example: <code>
Iterable<OrientVertex> friendsOfFriends = (Iterable<OrientVertex>) luca.execute(new OSQLPredicate("out().out('Friend').out('Friend')"));
</code>

@param iPredicate Predicate to evaluate. Use OSQLPredicate to use SQL
( Blueprints Extension ) Executes the command predicate against current vertex . Use OSQLPredicate to execute SQL . Example : <code > Iterable<OrientVertex > friendsOfFriends = ( Iterable<OrientVertex > ) luca . execute ( new OSQLPredicate ( out () . out ( Friend ) . out ( Friend ) )) ; < / code >