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 ?
LVL 20
Sathish David  Kumar NArchitectAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

How to find how many records present  in csv file using Java
Count the lines?
Sathish David Kumar NArchitectAuthor Commented:
No in csv record will be same line also with comma separate
Sathish David Kumar NArchitectAuthor Commented:
How to count the line ? S3 bucket file
Bootstrap 4: Exploring New Features

Learn how to use and navigate the new features included in Bootstrap 4, the most popular HTML, CSS, and JavaScript framework for developing responsive, mobile-first websites.

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.
Sathish David Kumar NArchitectAuthor 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
Sounds like you should be using NoSQL rather than csv

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
awking00Information Technology SpecialistCommented:
I still don't understand your question. Can you provide a few sample lines from a csv file and what you expect to determine?
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.