Questions tagged [mapping]

Corresponding every element of a given set to a unique element of another set or it may refer to a process of creating data element mappings between two distinct data models (objects)

In this context, mapping refers to the process of creating data element mappings between two distinct data models (objects).

When it refers to mapping in data integration, it is a set of source and target definitions linked by the transformation objects that define the rules for data transformation. Mappings represent the data flow between sources and targets.

Data mapping is typically used as a first step for a wide variety of data integration tasks such as:

  1. Data transformation or data mediation between a data source and a destination

  2. Identification of data relationships as part of data lineage analysis

  3. Replication of data between two entities with different key-value assignments

  4. Discovery of hidden sensitive data such as the last four digits social security number hidden in another user id as part of a data masking or de-identification project

  5. Consolidation of multiple databases into a single data base and identifying redundant columns of data for consolidation or elimination.

9739 questions
38
votes
1 answer

Elasticsearch relationship mappings (one to one and one to many)

In my elastic search server I have one index http://localhost:9200/blog. The (blog) index contains multiple types. e.g.: http://localhost:9200/blog/posts, http://localhost:9200/blog/tags. In the tags type I have created more than 1000 tags and 10…
Aruljothi
  • 497
  • 1
  • 6
  • 14
38
votes
1 answer

Mapping a class against multiple tables in SQLAlchemy

# ! /usr/bin/env python # -*- coding: utf-8 -*- # login_frontend.py """ Python 2.7.3 Cherrypy 3.2.2 PostgreSQL 9.1 psycopy2 2.4.5 SQLAlchemy 0.7.10 """ I'm having a problem joining four tables in one…
Jonathan Root
  • 535
  • 2
  • 14
  • 31
34
votes
2 answers

How to get Dapper to ignore/remove underscores in field names when mapping?

There are many ways to map database field names to class names, but what is the simplest way to just remove the underscores? public IEnumerable GetPerson(int personId) { using (var dbConnection =…
scw
  • 5,450
  • 8
  • 36
  • 49
34
votes
1 answer

Solution Explorer doesnt show the folder although the folder is present in my local drive (local copy) Visual studio

I have copied the source code from source control explorer to my local drive. the mapping is done and i am able to work on the code and build it. However, there are some files which doesnot show up in the Solution Explorer although it shows in the…
34
votes
4 answers

Type mapping MySQL type text to Java Hibernate

What is the correct mapping type from MySQL data type text to Java using Hibernate? @Column(name = "STACKTRACE", length = Integer.MAX_VALUE) public String getStacktrace() { return this.stacktrace; }
Alex
  • 4,033
  • 9
  • 37
  • 52
34
votes
7 answers

Is Node.js Array.map() asynchronous?

Can I count on nodeIDs mapping is completed every time doSomething() is called? nodeIDs = $.map(nodeIDs, function(n){ return n.match(/\d+$/); }); doSomething(nodeIDs); I thought all callbacks in node.js are asynchronous? I did read an article…
bonchef
  • 371
  • 1
  • 3
  • 7
33
votes
6 answers

How do I change the local path of a subfolder in TFS (not the whole workspace)?

When I started working on a project I downloaded IPAddress\CompanyName\ProductName\DevBranch in TFS, mapping it to C:\DevBranch. But now I want to map the root folder to a local path, so I've mapped IPAddress\CompanyName to C:\CompanyName. However,…
Kyle Delaney
  • 11,616
  • 6
  • 39
  • 66
33
votes
11 answers

Create a map with clickable provinces/states using SVG, HTML/CSS, ImageMap

I am trying to create an interactive map where users can click on different provinces in the map to get info specific to that province. Example: archived: http://www.todospelaeducacao.org.br/ archived: http://code.google.com/p/svg2imap/ So far…
mindtheGaspar
  • 363
  • 1
  • 3
  • 9
32
votes
3 answers

Fluent NHibernate, working with interfaces

I just switched to Fluent NHibernate and I've encountered an issue and did not find any information about it. Here's the case : public class Field : DomainObject, IField { public Field() { } public virtual string Name { get; set;…
Charles Ouellet
  • 6,338
  • 3
  • 41
  • 57
32
votes
2 answers

Entity Framework 4.1 InverseProperty Attribute and ForeignKey

I will create two references between Employee and Team entities with foreign keys. So I defined two entities as follow public class Employee { public int EmployeeId { get; set; } public string Name { get; set; } …
Ray
  • 4,038
  • 8
  • 36
  • 48
32
votes
3 answers

How can I access iteration index in Ramda.map

I used to write something like _.map(items, (item, index) => {}); with lodash. Usually I don't need index but sometimes it's useful. I'm migrating to Ramda now: R.map((item, index) => {}, items); index is undefined. Sure, I can create variable…
Boris Zagoruiko
  • 12,705
  • 15
  • 47
  • 79
32
votes
2 answers

Jackson Json Type Mapping Inner Class

I am trying to create the inner class type for an object being passed in as JSON but while I have read tons on here as well as Jackson's site I don't seem to be able to get the right combination so if anyone else has any pointers they would be much…
ars265
  • 1,949
  • 3
  • 21
  • 37
31
votes
3 answers

How to change the path of a mapped drive in win7?

Now it's mapped to \\192.168.248.128,how to change it to \\192.168.66.2 instead?
gdb
  • 7,189
  • 12
  • 38
  • 36
31
votes
1 answer

Navigation Property without Declaring Foreign Key

All my models contain at least two associations. When modeling this in ef4 I've only been able to do this without a second Foreign Key property through the use of the fluent interface. ForeignKey seems like the right attribute to use, except for the…
Daniel Little
  • 16,975
  • 12
  • 69
  • 93
31
votes
1 answer

null with PHP < and > operators

Can somebody explain how null is mapped in these statements? null>0; //=> bool(false) null<0; //=> bool(false) null==0; //=> bool(true) but null<-1; // => bool(true) I assume it's some mapping problem, but can't crack it. Tried with PHP 5.3.5-1…
Szymon Lukaszczyk
  • 712
  • 1
  • 6
  • 14