Java Doc for FxResultSet.java in  » J2EE » fleXive » com » flexive » shared » search » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » J2EE » fleXive » com.flexive.shared.search 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


com.flexive.shared.search.FxResultSet

All known Subclasses:   com.flexive.shared.search.FxEmptyResultSet,  com.flexive.core.search.FxResultSetImpl,
FxResultSet
public interface FxResultSet (Code)
FxSQL result set
author:
   Gregor Schober (gregor.schober@flexive.com), UCS - unique computing solutions gmbh (http://www.ucs.at)




Method Summary
 List<T>collectColumn(int columnIndex)
     Projects a single column to a list.
public  intgetColumnCount()
     Returns the number of columns in this FxResultSet object.
public  intgetColumnIndex(String name)
     Get the index for the given column.
public  Map<String, Integer>getColumnIndexMap()
     Returns a map returning the column index using the lowercase column name as a key.
public  StringgetColumnName(int pos)
     Get the designated column's name.
public  String[]getColumnNames()
     Returns the column names.
public  List<FxFoundType>getContentTypes()
     Returns a list of all content types that are part of the resultset.
public  longgetCreatedBriefcaseId()
     If the query created a new briefcase, its ID can be retrieved with this method.
public  longgetCreationTime()
     Returns the time this resultset was created at.
public  intgetDbSearchTime()
     Returns the time needed to find all matching records in the database.
public  intgetFetchTime()
     Returns the time needed to find fetch the matching records from the database.
public  ResultLocationgetLocation()
     Returns the location for which the query was executed.
public  intgetMaxFetchRows()
     Returns the maximum rows parameter specified with the search.
public  ObjectgetObject(int rowIndex, int columnIndex)
     Retrieves the value of the designated column in the current row of this FxResultSet object as a Object.
Parameters:
  rowIndex - - the first row is 1, the second is 2, ...
Parameters:
  columnIndex - - the first column is 1, the second is 2, ...
public  intgetParserExecutionTime()
     Returns the time that was spent parsing the statement.
public  FxResultRowgetResultRow(int index)
     Return a result row wrapper for the given row number.
public  Iterable<FxResultRow>getResultRows()
     Return a result row iterator for this result set.
public  intgetRowCount()
     Returns the number of rows in this FxResultSet object.
public  List<Object[]>getRows()
     Returns all rows.
public  intgetStartIndex()
     Returns the start index specified with the search.
public  StringgetString(int rowIndex, int columnIndex)
     Retrieves the value of the designated column in the current row of this FxResultSet object as a String.
Parameters:
  rowIndex - - the first row is 1, the second is 2, ...
Parameters:
  columnIndex - - the first column is 1, the second is 2, ...
public  intgetTotalRowCount()
     Returns the total row count.
public  intgetTotalTime()
     Returns the total time spent for the search.
public  ResultViewTypegetViewType()
     Returns the view type for which the query was executed.
public  booleanisTruncated()
     Returns true if the found entry set was truncted.



Method Detail
collectColumn
List<T> collectColumn(int columnIndex)(Code)
Projects a single column to a list.
Parameters:
  columnIndex - the 1-basedcolumn index all column values collected in a list



getColumnCount
public int getColumnCount()(Code)
Returns the number of columns in this FxResultSet object. the number of columns



getColumnIndex
public int getColumnIndex(String name)(Code)
Get the index for the given column. Returns -1 if the column name does not exist in the result set.
Parameters:
  name - the column name the index for the given column name, 1-based



getColumnIndexMap
public Map<String, Integer> getColumnIndexMap()(Code)
Returns a map returning the column index using the lowercase column name as a key. a map returning the column index using the lowercase column name as a key.



getColumnName
public String getColumnName(int pos) throws ArrayIndexOutOfBoundsException(Code)
Get the designated column's name. the column name at the given position
Parameters:
  pos - the first column is 1, the second is 2, ...
throws:
  ArrayIndexOutOfBoundsException - if the given position is not valid



getColumnNames
public String[] getColumnNames()(Code)
Returns the column names. the column names.



getContentTypes
public List<FxFoundType> getContentTypes()(Code)
Returns a list of all content types that are part of the resultset.

Items filtered by the parameter CTYPE are also taken into account. a list of all content types that are part of the resultset




getCreatedBriefcaseId
public long getCreatedBriefcaseId()(Code)
If the query created a new briefcase, its ID can be retrieved with this method. the ID of the created briefcase, or -1 if no briefcase was created



getCreationTime
public long getCreationTime()(Code)
Returns the time this resultset was created at. the creation time of the resultset



getDbSearchTime
public int getDbSearchTime()(Code)
Returns the time needed to find all matching records in the database. the time needed to find all matching records in the database



getFetchTime
public int getFetchTime()(Code)
Returns the time needed to find fetch the matching records from the database. the time needed to find fetch the matching records from the database



getLocation
public ResultLocation getLocation()(Code)
Returns the location for which the query was executed. the location for which the query was executed.



getMaxFetchRows
public int getMaxFetchRows()(Code)
Returns the maximum rows parameter specified with the search. the maximum rows parameter specified with the search



getObject
public Object getObject(int rowIndex, int columnIndex) throws ArrayIndexOutOfBoundsException(Code)
Retrieves the value of the designated column in the current row of this FxResultSet object as a Object.
Parameters:
  rowIndex - - the first row is 1, the second is 2, ...
Parameters:
  columnIndex - - the first column is 1, the second is 2, ... the column value; if the value is SQL NULL, the value returned is null
throws:
  ArrayIndexOutOfBoundsException - if the given row/column combination is out of range



getParserExecutionTime
public int getParserExecutionTime()(Code)
Returns the time that was spent parsing the statement. the time that was spent parsing the statement



getResultRow
public FxResultRow getResultRow(int index)(Code)
Return a result row wrapper for the given row number.
Parameters:
  index - the row number a result row wrapper for the given row number.



getResultRows
public Iterable<FxResultRow> getResultRows()(Code)
Return a result row iterator for this result set. a result row iterator for this result set.



getRowCount
public int getRowCount()(Code)
Returns the number of rows in this FxResultSet object. the number of rows



getRows
public List<Object[]> getRows()(Code)
Returns all rows. the rows



getStartIndex
public int getStartIndex()(Code)
Returns the start index specified with the search. the start index specified with the search



getString
public String getString(int rowIndex, int columnIndex) throws ArrayIndexOutOfBoundsException(Code)
Retrieves the value of the designated column in the current row of this FxResultSet object as a String.
Parameters:
  rowIndex - - the first row is 1, the second is 2, ...
Parameters:
  columnIndex - - the first column is 1, the second is 2, ... the column value; if the value is SQL NULL, the value returned is null
throws:
  ArrayIndexOutOfBoundsException - if the given row/column combination is out of range



getTotalRowCount
public int getTotalRowCount()(Code)
Returns the total row count.

The total row count is the number of entries found by the search, even if they are not contained in this resultset becaus of the specified start and end index. the total row count




getTotalTime
public int getTotalTime()(Code)
Returns the total time spent for the search.

This time includes the parse time, search time, fetch time and additional programm logic time. the total time spent for the search




getViewType
public ResultViewType getViewType()(Code)
Returns the view type for which the query was executed. the view type for which the query was executed.



isTruncated
public boolean isTruncated()(Code)
Returns true if the found entry set was truncted. true if the result was truncated



www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.