File tree Expand file tree Collapse file tree
src/main/java/fr/inria/corese/core Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1042,6 +1042,10 @@ public EdgeManagerIndexer getIndex() {
10421042 return getSubjectIndex ();
10431043 }
10441044
1045+ public int getIndexSize () {
1046+ return getIndex ().size ();
1047+ }
1048+
10451049 void startUpdate () {
10461050 }
10471051
Original file line number Diff line number Diff line change 44import fr .inria .corese .core .Graph ;
55import fr .inria .corese .core .Index ;
66import fr .inria .corese .core .api .DataBroker ;
7- import fr .inria .corese .core .index .EdgeManagerIndexer ;
87import fr .inria .corese .core .kgram .api .core .*;
98import fr .inria .corese .core .kgram .api .query .Environment ;
109import fr .inria .corese .core .kgram .api .query .Matcher ;
@@ -902,7 +901,7 @@ public int getSize(int type) {
902901 case ALL :
903902 return this .getGraph ().size ();
904903 case PREDICATE :
905- return this .getGraph ().getIndex (). size ();
904+ return this .getGraph ().getIndexSize ();
906905 // to do for SUBJECT | OBJECT
907906 // for the moment, cannot get these values directIProducerQP
908907 case SUBJECT :
You can’t perform that action at this time.
0 commit comments