We help IT Professionals succeed at work.

How to find how many records present  in csv file using Java

117 Views
Last Modified: 2018-09-02
How to find how many records present  in csv file using Java
The file will be present in S3 location . Is there any AWS services available for this ?
Comment
Watch Question

CERTIFIED EXPERT
Top Expert 2016

Commented:
How to find how many records present  in csv file using Java
Count the lines?
CERTIFIED EXPERT

Author

Commented:
No in csv record will be same line also with comma separate
CERTIFIED EXPERT

Author

Commented:
How to count the line ? S3 bucket file
CERTIFIED EXPERT
Top Expert 2016

Commented:
I'm not familiar with S3 buckets, but unless they have removed line breaks (which are control characters) then i don't really see what the problem is.
CERTIFIED EXPERT

Author

Commented:
Actually in one csv file user can upload upto 6lac record , If we do java it take 2 to 3 min .
if AWS have any services gave to find how many records available then it will easy to create chank for that
CERTIFIED EXPERT
Top Expert 2016
Commented:
This problem has been solved!
(Unlock this solution with a 7-day Free Trial)
UNLOCK SOLUTION
awking00Information Technology Specialist
CERTIFIED EXPERT

Commented:
I still don't understand your question. Can you provide a few sample lines from a csv file and what you expect to determine?
CERTIFIED EXPERT
Top Expert 2016

Commented:
:)