blob: 287ddd9926ddafc8629c9dd054ddccf1f734dc46 [file] [log] [blame]
{"version":3,"sources":["/home/madhan/Apache/git/atlas/docs/target/src/documents/Misc/SoftReference.md","/home/madhan/Apache/git/atlas/docs/target/theme/styles/styled-colors.js"],"names":["layoutProps","MDXContent","components","props","mdxType","parentName","wrapLines","language","style","theme","isMDXComponent","dark","hljs","color"],"mappings":"6kBAWMA,EAAc,GAIL,SAASC,EAAW,GAG/B,IAFFC,EAAU,EAAVA,WACGC,EAAK,iBAER,OAAO,cALS,UAKC,iBAAKH,EAAiBG,EAAK,CAAED,WAAYA,EAAYE,QAAQ,cAE5E,oBACE,GAAM,yCAAuC,0CAE/C,oBACE,GAAM,cAAY,cAEpB,iKACA,yGACA,sJACA,yCAAsB,oBAAIC,WAAW,KAAG,mBAAyB,kBAAmB,oBAAIA,WAAW,KAAG,QAAc,8EACpH,oBACE,GAAM,iBAAe,iBAEvB,iFACA,cAAC,IAAiB,CAACC,WAAW,EAAMC,SAAS,OAAOC,MAAOC,IAAYL,QAAQ,qBAAmB,yTAerG,yLAEDH,EAAWS,gBAAiB,G,+DCpD5B,iFAqBAC,IAAKC,KAAKC,MAAQ,UACHF,MAAI","file":"static/js/documents-misc-soft-reference.f7723ef2.js","sourcesContent":["\nimport React from 'react'\nimport { mdx } from '@mdx-js/react'\n\n/* @jsxRuntime classic */\n/* @jsx mdx */\nimport themen from 'theme/styles/styled-colors';\nimport * as theme from 'react-syntax-highlighter/dist/esm/styles/hljs';\nimport SyntaxHighlighter from 'react-syntax-highlighter';\n\n\nconst layoutProps = {\n \n};\nconst MDXLayout = \"wrapper\"\nexport default function MDXContent({\n components,\n ...props\n}) {\n return <MDXLayout {...layoutProps} {...props} components={components} mdxType=\"MDXLayout\">\n\n <h1 {...{\n \"id\": \"entity-attribute-option-softreference\"\n }}>{`Entity Attribute Option: SoftReference`}</h1>\n <h4 {...{\n \"id\": \"background\"\n }}>{`Background`}</h4>\n <p>{`Entity attributes are specified using attribute definitions. An attributes' persistence strategy is determined by based on their type.`}</p>\n <p>{`Primitive types are persisted as properties within the vertex of their parent.`}</p>\n <p>{`Non-primitive attributes get a vertex of their own and edge is created between the parent the child to establish ownership.`}</p>\n <p>{`Attribute with `}<em parentName=\"p\">{`isSoftReference`}</em>{` option set to `}<em parentName=\"p\">{`true`}</em>{`, is non-primitive attribute that gets treatment of a primitive attribute.`}</p>\n <h4 {...{\n \"id\": \"specification\"\n }}>{`Specification`}</h4>\n <p>{`Below is an example of using the new attribute option.`}</p>\n <SyntaxHighlighter wrapLines={true} language=\"json\" style={theme.dark} mdxType=\"SyntaxHighlighter\">\n {`\"attributeDefs\": [\n {\n \"name\": \"replicatedFrom\",\n \"typeName\": \"array<AtlasServer>\",\n \"cardinality\": \"SET\",\n \"isIndexable\": false,\n \"isOptional\": true,\n \"isUnique\": false,\n \"options\": {\n \"isSoftReference\": \"true\"\n }\n },...]`}\n </SyntaxHighlighter>\n </MDXLayout>;\n}\n;\nMDXContent.isMDXComponent = true;","/**\n * Licensed to the Apache Software Foundation (ASF) under one\n * or more contributor license agreements. See the NOTICE file\n * distributed with this work for additional information\n * regarding copyright ownership. The ASF licenses this file\n * to you under the Apache License, Version 2.0 (the\n * \"License\"); you may not use this file except in compliance\n * with the License. You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { dark } from \"react-syntax-highlighter/dist/esm/styles/hljs\";\n\n//dark[\"powershell\"][\"color\"] = \"#37bb9b\";\ndark.hljs.color = \"#37bb9b\";\nexport default dark;"],"sourceRoot":""}