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

Sathish David  Kumar N
Sathish David  Kumar N used Ask the Experts™
on
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

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Top Expert 2016

Commented:
How to find how many records present  in csv file using Java
Count the lines?
No in csv record will be same line also with comma separate
How to count the line ? S3 bucket file
CompTIA Security+

Learn the essential functions of CompTIA Security+, which establishes the core knowledge required of any cybersecurity role and leads professionals into intermediate-level cybersecurity jobs.

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.
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
Top Expert 2016
Commented:
Sounds like you should be using NoSQL rather than csv
awking00Information Technology Specialist

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?
Top Expert 2016

Commented:
:)

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial