Code examples for ScrollableResults

Codota analyzed 7,668,838 open source code samples to find the most common, credible and clear examples.
You can now enable Codota on your own code to easily search and navigate your Java codebase.
155:	if (cursor.next()) { 
156:	Object[] data = cursor.get(); 
Full Snippet Info
7
CodeRank
45:	scrollableResults.close(); 
-
64:	if (scrollableResults.next()) { 
65:	nextRow = scrollableResults.get(); 
Full Snippet Info
6
CodeRank
73:	scrollableResults.last(); 
74:	return scrollableResults.getRowNumber() + 1; 
Full Snippet Info
5
CodeRank
73:	if (cursor.next()) { 
74:	Object[] data = cursor.get(); 
Full Snippet Info
5
CodeRank
136:	results.getInteger(2),  // study.numberOfSeries 
137:	results.getInteger(3),  // study.numberOfSeriesA 
138:	results.getInteger(4),  // study.numberOfInstances 
139:	results.getInteger(5)}; // study.numberOfInstancesA 
140:	String modalitiesInStudy = results.getString(8); 
141:	String sopClassesInStudy = results.getString(9); 
142:	byte[] studyAttributes = results.getBinary(14); 
143:	byte[] patientAttributes = results.getBinary(15); 
Full Snippet Info
5
CodeRank
95:	sr.first(); 
96:	Object[] row = sr.get(); 
Full Snippet Info
5
CodeRank
57:	hasNext = results.next(); 
-
68:	return (T) results.get(); 
-
70:	return (T) results.get(0); 
Full Snippet Info
4
CodeRank
67:	int i = scroll.last() ? scroll.getRowNumber() + 1 : 0; 
Full Snippet Info
4
CodeRank
41:	hasNext = results.next(); 
-
52:	return (T) results.get(0); 
Full Snippet Info
4
CodeRank
152:	hasNext = results.next(); 
Full Snippet Info
3
CodeRank
78:	Utils.decodeAttributes(attrs, results.getBinary(1)); 
Full Snippet Info
3
CodeRank