Skip to content

Commit 41c5280

Browse files
author
Mark Vollmary
committed
remove some attributes from CollectionEntity.Figures as they are not
delivered
1 parent 4684e0b commit 41c5280

File tree

2 files changed

+484
-445
lines changed

2 files changed

+484
-445
lines changed

src/main/java/com/arangodb/entity/CollectionEntity.java

Lines changed: 32 additions & 97 deletions
Original file line numberDiff line numberDiff line change
@@ -127,15 +127,15 @@ public long getChecksum() {
127127
return checksum;
128128
}
129129

130-
public void setIsSystem(Boolean isSystem) {
130+
public void setIsSystem(final Boolean isSystem) {
131131
this.isSystem = isSystem;
132132
}
133133

134-
public void setIsVolatile(Boolean isVolatile) {
134+
public void setIsVolatile(final Boolean isVolatile) {
135135
this.isVolatile = isVolatile;
136136
}
137137

138-
public void setChecksum(long checksum) {
138+
public void setChecksum(final long checksum) {
139139
this.checksum = checksum;
140140
}
141141

@@ -167,63 +167,63 @@ public CollectionKeyOption getKeyOptions() {
167167
return keyOptions;
168168
}
169169

170-
public void setName(String name) {
170+
public void setName(final String name) {
171171
this.name = name;
172172
}
173173

174-
public void setId(long id) {
174+
public void setId(final long id) {
175175
this.id = id;
176176
}
177177

178-
public void setType(CollectionType type) {
178+
public void setType(final CollectionType type) {
179179
this.type = type;
180180
}
181181

182-
public void setStatus(CollectionStatus status) {
182+
public void setStatus(final CollectionStatus status) {
183183
this.status = status;
184184
}
185185

186-
public void setWaitForSync(Boolean waitForSync) {
186+
public void setWaitForSync(final Boolean waitForSync) {
187187
this.waitForSync = waitForSync;
188188
}
189189

190-
public void setSystem(Boolean isSystem) {
190+
public void setSystem(final Boolean isSystem) {
191191
this.isSystem = isSystem;
192192
}
193193

194-
public void setVolatile(Boolean isVolatile) {
194+
public void setVolatile(final Boolean isVolatile) {
195195
this.isVolatile = isVolatile;
196196
}
197197

198-
public void setJournalSize(long journalSize) {
198+
public void setJournalSize(final long journalSize) {
199199
this.journalSize = journalSize;
200200
}
201201

202-
public void setCount(long count) {
202+
public void setCount(final long count) {
203203
this.count = count;
204204
}
205205

206-
public void setFigures(Figures figures) {
206+
public void setFigures(final Figures figures) {
207207
this.figures = figures;
208208
}
209209

210-
public void setKeyOptions(CollectionKeyOption keyOptions) {
210+
public void setKeyOptions(final CollectionKeyOption keyOptions) {
211211
this.keyOptions = keyOptions;
212212
}
213213

214214
public long getRevision() {
215215
return revision;
216216
}
217217

218-
public void setRevision(long revision) {
218+
public void setRevision(final long revision) {
219219
this.revision = revision;
220220
}
221221

222222
public Boolean getDoCompact() {
223223
return doCompact;
224224
}
225225

226-
public void setDoCompact(Boolean doCompact) {
226+
public void setDoCompact(final Boolean doCompact) {
227227
this.doCompact = doCompact;
228228
}
229229

@@ -295,37 +295,6 @@ public static class Figures implements Serializable {
295295
*/
296296
long compactorsFileSize;
297297

298-
/**
299-
* The number of shape files. This value is deprecated and kept for
300-
* compatibility reasons only. The value will always be 0 since ArangoDB
301-
* 2.0 and higher. *figures.shapefiles.fileSize: The total filesize of
302-
* the shape files. This value is deprecated and kept for compatibility
303-
* reasons only. The value will always be 0 in ArangoDB 2.0 and higher.
304-
*/
305-
long shapefilesCount;
306-
307-
/**
308-
* The total size of all shapes (in bytes). This includes shapes that
309-
* are not in use anymore. Shapes that are contained in the write-ahead
310-
* log only are not reported in this figure.
311-
*/
312-
long shapefilesFileSize;
313-
314-
/**
315-
* The total number of shapes used in the collection. This includes
316-
* shapes that are not in use anymore. Shapes that are contained in the
317-
* write-ahead log only are not reported in this figure.
318-
*/
319-
long shapesCount;
320-
321-
/**
322-
* The total number of attributes used in the collection. Note: the
323-
* value includes data of attributes that are not in use anymore.
324-
* Attributes that are contained in the write-ahead log only are not
325-
* reported in this figure.
326-
*/
327-
long attributesCount;
328-
329298
/**
330299
* The total number of indexes defined for the collection, including the
331300
* pre-defined indexes (e.g. primary index).
@@ -394,111 +363,79 @@ public long getCompactorsFileSize() {
394363
return compactorsFileSize;
395364
}
396365

397-
public long getShapefilesCount() {
398-
return shapefilesCount;
399-
}
400-
401-
public long getShapefilesFileSize() {
402-
return shapefilesFileSize;
403-
}
404-
405-
public long getShapesCount() {
406-
return shapesCount;
407-
}
408-
409-
public long getAttributesCount() {
410-
return attributesCount;
411-
}
412-
413-
public void setAliveCount(long aliveCount) {
366+
public void setAliveCount(final long aliveCount) {
414367
this.aliveCount = aliveCount;
415368
}
416369

417-
public void setAliveSize(long aliveSize) {
370+
public void setAliveSize(final long aliveSize) {
418371
this.aliveSize = aliveSize;
419372
}
420373

421-
public void setDeadCount(long deadCount) {
374+
public void setDeadCount(final long deadCount) {
422375
this.deadCount = deadCount;
423376
}
424377

425-
public void setDeadSize(long deadSize) {
378+
public void setDeadSize(final long deadSize) {
426379
this.deadSize = deadSize;
427380
}
428381

429-
public void setDeadDeletion(long deadDeletion) {
382+
public void setDeadDeletion(final long deadDeletion) {
430383
this.deadDeletion = deadDeletion;
431384
}
432385

433-
public void setDatafileCount(long datafileCount) {
386+
public void setDatafileCount(final long datafileCount) {
434387
this.datafileCount = datafileCount;
435388
}
436389

437-
public void setDatafileFileSize(long datafileFileSize) {
390+
public void setDatafileFileSize(final long datafileFileSize) {
438391
this.datafileFileSize = datafileFileSize;
439392
}
440393

441-
public void setJournalsCount(long journalsCount) {
394+
public void setJournalsCount(final long journalsCount) {
442395
this.journalsCount = journalsCount;
443396
}
444397

445-
public void setJournalsFileSize(long journalsFileSize) {
398+
public void setJournalsFileSize(final long journalsFileSize) {
446399
this.journalsFileSize = journalsFileSize;
447400
}
448401

449-
public void setCompactorsCount(long compactorsCount) {
402+
public void setCompactorsCount(final long compactorsCount) {
450403
this.compactorsCount = compactorsCount;
451404
}
452405

453-
public void setCompactorsFileSize(long compactorsFileSize) {
406+
public void setCompactorsFileSize(final long compactorsFileSize) {
454407
this.compactorsFileSize = compactorsFileSize;
455408
}
456409

457-
public void setShapefilesCount(long shapefilesCount) {
458-
this.shapefilesCount = shapefilesCount;
459-
}
460-
461-
public void setShapefilesFileSize(long shapefilesFileSize) {
462-
this.shapefilesFileSize = shapefilesFileSize;
463-
}
464-
465-
public void setShapesCount(long shapesCount) {
466-
this.shapesCount = shapesCount;
467-
}
468-
469-
public void setAttributesCount(long attributesCount) {
470-
this.attributesCount = attributesCount;
471-
}
472-
473410
public long getIndexesCount() {
474411
return indexesCount;
475412
}
476413

477-
public void setIndexesCount(long indexesCount) {
414+
public void setIndexesCount(final long indexesCount) {
478415
this.indexesCount = indexesCount;
479416
}
480417

481418
public long getIndexesSize() {
482419
return indexesSize;
483420
}
484421

485-
public void setIndexesSize(long indexesSize) {
422+
public void setIndexesSize(final long indexesSize) {
486423
this.indexesSize = indexesSize;
487424
}
488425

489426
public long getLastTick() {
490427
return lastTick;
491428
}
492429

493-
public void setLastTick(long lastTick) {
430+
public void setLastTick(final long lastTick) {
494431
this.lastTick = lastTick;
495432
}
496433

497434
public long getUncollectedLogfileEntries() {
498435
return uncollectedLogfileEntries;
499436
}
500437

501-
public void setUncollectedLogfileEntries(long uncollectedLogfileEntries) {
438+
public void setUncollectedLogfileEntries(final long uncollectedLogfileEntries) {
502439
this.uncollectedLogfileEntries = uncollectedLogfileEntries;
503440
}
504441

@@ -508,9 +445,7 @@ public String toString() {
508445
+ ", deadSize=" + deadSize + ", deadDeletion=" + deadDeletion + ", datafileCount=" + datafileCount
509446
+ ", datafileFileSize=" + datafileFileSize + ", journalsCount=" + journalsCount
510447
+ ", journalsFileSize=" + journalsFileSize + ", compactorsCount=" + compactorsCount
511-
+ ", compactorsFileSize=" + compactorsFileSize + ", shapefilesCount=" + shapefilesCount
512-
+ ", shapefilesFileSize=" + shapefilesFileSize + ", shapesCount=" + shapesCount
513-
+ ", attributesCount=" + attributesCount + ", indexesCount=" + indexesCount + ", indexesSize="
448+
+ ", compactorsFileSize=" + compactorsFileSize + ", indexesCount=" + indexesCount + ", indexesSize="
514449
+ indexesSize + ", lastTick=" + lastTick + ", uncollectedLogfileEntries="
515450
+ uncollectedLogfileEntries + "]";
516451
}

0 commit comments

Comments
 (0)