comparison flys-artifacts/src/main/java/de/intevation/flys/artifacts/states/SQRelation.java @ 3119:238803b2cb8b

Create a compound index for SQOutlierFacets based on result index and iteration number. flys-artifacts/trunk@4720 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Ingo Weinzierl <ingo.weinzierl@intevation.de>
date Wed, 20 Jun 2012 11:04:24 +0000
parents 2feed9b50047
children 116b342893e3
comparison
equal deleted inserted replaced
3118:6fb211753674 3119:238803b2cb8b
132 hash, 132 hash,
133 stateId 133 stateId
134 )); 134 ));
135 135
136 for (int j = 0, C = result.getOutliersCount(); j < C; j++) { 136 for (int j = 0, C = result.getOutliersCount(); j < C; j++) {
137 int index = res;
138 index = index << 16;
139 index = index + j;
140
141 if (logger.isDebugEnabled()) {
142 logger.debug("new outliers facet (index=" +index+ ")");
143 logger.debug(" result index = " + res);
144 logger.debug(" fraction idx = " + i);
145 logger.debug(" iteration = " + j);
146 }
147
137 container.add(new SQOutlierFacet( 148 container.add(new SQOutlierFacet(
138 res, 149 index,
139 i, 150 i,
140 j,
141 getFractionFacetname(2, i), 151 getFractionFacetname(2, i),
142 Resources.getMsg( 152 Resources.getMsg(
143 meta, 153 meta,
144 I18N_FACET_OUTLIERS, 154 I18N_FACET_OUTLIERS,
145 I18N_FACET_OUTLIERS, 155 I18N_FACET_OUTLIERS,

http://dive4elements.wald.intevation.org