final OCommandRequest cmd = formatCommand(QUERY_GET_RANGE, name);
return (Collection<ODocument>) getDatabase().command(cmd).execute(iRangeFrom, iRangeTo);
}
public Collection<OIdentifiable> getValuesMajor(Object fromKey, boolean isInclusive) {
final OCommandRequest cmd;
if (isInclusive)
cmd = formatCommand(QUERY_GET_VALUE_MAJOR_EQUALS, name);
else
cmd = formatCommand(QUERY_GET_VALUE_MAJOR, name);
return (Collection<OIdentifiable>) getDatabase().command(cmd).execute(fromKey);