Large columnar text file editor
First Claim
1. A method for loading and editing text files, the method comprising:
- identifying a text file as input;
determining whether the text file is a columnar text file;
responsive to a determination that the text file is columnar, retrieving data information for the text file;
identifying pre-defined cache settings having a defined number of cached pages and a maximum number of rows per cached page and a maximum number of columns per cached page; and
determining whether the data information retrieved fits within the pre-defined cache settings;
responsive to a determination that the data information retrieved fits within the pre-defined cache settings, determining whether the first row of the text file is a header row in a view;
responsive to a determination that the first row of the text file is not a header row, normalizing the text file; and
selecting a view mode for load and edit operations of the text file, wherein selecting further includes;
identifying a total number of rows from the text file; and
determining whether the total number of rows is greater than a product of the defined number of cached pages multiplied by the maximum number of rows per cached page.
1 Assignment
0 Petitions
Accused Products
Abstract
The different advantageous embodiments provide a method for loading and editing text files. A text file is identified as input. A determination is made as to whether the text file is a columnar text file. If the text file is columnar, data information is retrieved for the text file. Pre-defined cache settings are identified. A determination is made as to whether the data information retrieved fits within the pre-defined cache settings. If the data information retrieved fits within the pre-defined cache settings, a determination is made as to whether the first row of the text file is a header row in a view. If the first row of the text file is not a header row, the text file is normalized. A view mode is selected for load and edit operations of the text file.
38 Citations
15 Claims
-
1. A method for loading and editing text files, the method comprising:
-
identifying a text file as input; determining whether the text file is a columnar text file; responsive to a determination that the text file is columnar, retrieving data information for the text file; identifying pre-defined cache settings having a defined number of cached pages and a maximum number of rows per cached page and a maximum number of columns per cached page; and determining whether the data information retrieved fits within the pre-defined cache settings; responsive to a determination that the data information retrieved fits within the pre-defined cache settings, determining whether the first row of the text file is a header row in a view; responsive to a determination that the first row of the text file is not a header row, normalizing the text file; and selecting a view mode for load and edit operations of the text file, wherein selecting further includes; identifying a total number of rows from the text file; and determining whether the total number of rows is greater than a product of the defined number of cached pages multiplied by the maximum number of rows per cached page. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9)
-
-
10. A system for loading and editing text files, the system comprising:
-
a number of text files; a processor; a bus connected to the processor; a memory connected to the bus, the memory storing computer program code configured to execute, using the processor, an editor to identify a text file as input;
determine whether the text file is a columnar text file;
responsive to a determination that the text file is columnar, retrieve data information for the text file;
identify pre-defined cache settings;
determine whether the data information retrieved fits within the pre-defined cache settings;
responsive to a determination that the data information retrieved fits within the pre-defined cache settings, determine whether the first row of the text file is a header row in a spreadsheet view;
responsive to a determination that the first row of the text file is not a header row, normalize the text file; and
select a mode for load and edit operations of the text file by identifying a total number of rows from the text file; and
determining whether the total number of rows is greater than a product of the defined number of cached pages multiplied by the maximum number of rows per cached page. - View Dependent Claims (11, 12, 13, 14, 15)
-
Specification