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 = [url removed, login to view](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 = [url removed, login to view](Model)

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

See more: 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, excellent java project, kind reflection experience java project jsp, client server java project

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

Project ID: #16232436

13 freelancers are bidding on average $69 for this job

FullStackService

hello,how are you.i read your bid carefully. i am java/javafx expert and have full experience for 12 years. java/javafx is my top skill and passision. i can provide most quality and high speed. if you want to succe More

$50 USD in 1 day
(33 Reviews)
6.2
$25 USD in 1 day
(57 Reviews)
5.4
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
(35 Reviews)
5.1
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
(33 Reviews)
4.6
$111 USD in 2 days
(4 Reviews)
4.1
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
abhilashrana01

A proposal has not yet been provided

$250 USD in 3 days
(19 Reviews)
3.5
$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