Skip to content

Commit 866b05f

Browse files
llingllinggit
authored andcommitted
Add javaDoc for getCount #1246
1 parent c9b6393 commit 866b05f

File tree

3 files changed

+12
-0
lines changed

3 files changed

+12
-0
lines changed

marklogic-client-api/src/main/java/com/marklogic/client/datamovement/JSONSplitter.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,10 @@ public void setVisitor(JSONSplitter.Visitor<T> visitor) {
8787
this.visitor = visitor;
8888
}
8989

90+
/**
91+
* Returns the number of splits.
92+
* @return the number of splits
93+
*/
9094
@Override
9195
public long getCount() {
9296
return count;

marklogic-client-api/src/main/java/com/marklogic/client/datamovement/XMLSplitter.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -139,6 +139,10 @@ public Stream<DocumentWriteOperation> splitWriteOperations(InputStream input, St
139139
return splitWriteOperations(reader, splitFilename);
140140
}
141141

142+
/**
143+
* Returns the number of splits.
144+
* @return the number of splits
145+
*/
142146
@Override
143147
public long getCount() {
144148
return count;

marklogic-client-api/src/main/java/com/marklogic/client/datamovement/ZipSplitter.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,10 @@ public ZipSplitter() {
106106
extensionFormats.put("xml", Format.XML);
107107
}
108108

109+
/**
110+
* Returns the number of splits.
111+
* @return the number of splits
112+
*/
109113
@Override
110114
public long getCount() {
111115
return this.count;

0 commit comments

Comments
 (0)