Link to home
Start Free TrialLog in
Avatar of Sathish David  Kumar N
Sathish David Kumar NFlag for India

asked on

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

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 ?
Avatar of CEHJ
CEHJ
Flag of United Kingdom of Great Britain and Northern Ireland image

How to find how many records present  in csv file using Java
Count the lines?
Avatar of Sathish David  Kumar N

ASKER

No in csv record will be same line also with comma separate
How to count the line ? S3 bucket file
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
ASKER CERTIFIED SOLUTION
Avatar of CEHJ
CEHJ
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
I still don't understand your question. Can you provide a few sample lines from a csv file and what you expect to determine?
:)