Closed

Java Project

Given a fixed length batch file to process.

Design a data model out of the specs and parse the sample data using the data model

Write the file processing code as efficient as possible considering the file may contain

billions of lines

# Specifications

The batch file contains airline transactions and metadata.

A single transaction comprises of 2 or 1 row(s) in the file.

- A Detail Transaction Record (DTR = 06)

- A Supplementary Detail Record (SDR = 07)

Each row is a fixed length line (64 bytes)

More details on the record descriptions below

## Detail Transaction Record (Record Type = 06) REQUIRED LINE

Record Type - 2 bytes - ALNUM - position 1-2

Transaction Code - 4 bytes - ALNUM - position 3-6

Card Number - 19 bytes - ALNUM - position 7-25

Merchant Category Code - 4 bytes - ALNUM - position 26-29

Filler - 15 bytes - ALNUM - position 30 - 44

Transaction Amount - 12 bytes - SIGNED NUMERIC - position 45 - 56, 2 decimals implied

Original Transaction Date - 8 bytes - ALNUM - position 57-64, format: CCYYMMDD

## Supplementary Data Record (Record Type = 07) OPTINAL LINE

Record Type - 2 bytes - ALNUM - position 1-2

Transaction Code - 4 bytes - ALNUM - position 3-6

Card Number - 19 bytes - ALNUM - position 7-25

SDR Description - 39 bytes - position 26-64

## Data to process

Below are sample data in a file and write code to parse these data from a file using the data models created

0617456111111111111111 5918 00000000895720170101

0717456111111111111111 01Marriot Hotel 180 Grand Ave. CA

0617256121111111111111 5542 00000000046820170104

0617206121111111111111 3000 00000000046820170104

0717206121111111111111 02Hilton Hotel 1st Street, NY

# Assumptions

An existing parser library that given a line outputs a String array of the fields e.g.

String[] fields = [login to view URL](line);

fields[0] - record type

fields[N] - last field

An existing transaction processing module that takes your data model and returns a success/fail response e.g.

Response response = [login to view URL](Model)

Skills: Java, JavaFX, Javascript, PHP, Software Architecture

See more: java projects for beginners, mini java project, projects in java for final year students, core java projects for practice, java projects github, core java projects, java projects for engineering students, java projects for students, write software specifications software created java project report, prototype created html javascript java project, pwm generator java project, sample java project, simple java project code, java project management pdf, configure java project using serverxml tomcat, gis java project, java project school registar, prefuse java project active, java project linked list assignemnt solution, java project simple

About the Employer:
( 3 reviews ) houston, United States

Project ID: #16232436

12 freelancers are bidding on average $71 for this job

$25 USD in 1 day
(65 Reviews)
5.5
bnabin51

I have done many similar college assignments. I am sure I can do yours too. Come in chat so that we can discuss on it.

$25 USD in 1 day
(41 Reviews)
5.0
kahilH

Hello i bid on your project with 135 usd cause here we are dealing with files that contains tons of data its not reaaly simple to work with such files cause we have a very limited memory to load the file on it i s More

$135 USD in 1 day
(37 Reviews)
5.1
$111 USD in 2 days
(4 Reviews)
4.1
abhilashrana01

A proposal has not yet been provided

$250 USD in 3 days
(20 Reviews)
3.8
YonTech

hello I have experience in data mining. I have used and process many datasets. I can do your task. looking forward to hearing from you regards Mahavir Sancheti

$111 USD in 3 days
(9 Reviews)
3.9
$45 USD in 1 day
(7 Reviews)
3.3
$20 USD in 1 day
(2 Reviews)
0.0
shrutibhatia

A proposal has not yet been provided

$25 USD in 1 day
(0 Reviews)
0.0
$25 USD in 1 day
(0 Reviews)
0.0
secretsolution27

The goal of this section is to present the reasons for doing this project as well as stating all of the project's objectives. In this section in particular it is very important to write concisely and clearly. Some proj More

$25 USD in 1 day
(0 Reviews)
0.0
AnkushGa

A proposal has not yet been provided

$55 USD in 3 days
(0 Reviews)
0.0