Tabnine Logo
AnnotationPersistenceMappingParser.parseIndex
Code IndexAdd Tabnine to your IDE (free)

How to use
parseIndex
method
in
org.apache.openjpa.persistence.jdbc.AnnotationPersistenceMappingParser

Best Java code snippets using org.apache.openjpa.persistence.jdbc.AnnotationPersistenceMappingParser.parseIndex (Showing top 12 results out of 315)

origin: org.apache.openjpa/openjpa-persistence-jdbc

/**
 * Parse the given index.
 */
private void parseIndex(MappingInfo info, Index idx) {
  parseIndex(info, idx.name(), idx.enabled(), idx.unique());
}
origin: org.apache.openjpa/openjpa-all

/**
 * Parse the given index.
 */
private void parseIndex(MappingInfo info, Index idx) {
  parseIndex(info, idx.name(), idx.enabled(), idx.unique());
}
origin: org.apache.openejb.patch/openjpa

/**
 * Parse the given index.
 */
private void parseIndex(MappingInfo info, Index idx) {
  parseIndex(info, idx.name(), idx.enabled(), idx.unique());
}
origin: org.apache.openjpa/com.springsource.org.apache.openjpa

/**
 * Parse the given index.
 */
private void parseIndex(MappingInfo info, Index idx) {
  parseIndex(info, idx.name(), idx.enabled(), idx.unique());
}
origin: org.apache.openjpa/com.springsource.org.apache.openjpa

/**
 * Parse @ContainerTable.
 */
protected void parseContainerTable(FieldMapping fm, ContainerTable ctbl) {
  fm.getMappingInfo().setTableName(toTableName(ctbl.schema(),
    ctbl.name()));
  parseXJoinColumns(fm, fm.getMappingInfo(), false, ctbl.joinColumns());
  if (ctbl.joinForeignKey().specified())
    parseForeignKey(fm.getMappingInfo(), ctbl.joinForeignKey());
  if (ctbl.joinIndex().specified())
    parseIndex(fm.getMappingInfo(), ctbl.joinIndex());
}
origin: org.apache.openejb.patch/openjpa

/**
 * Parse @ContainerTable.
 */
protected void parseContainerTable(FieldMapping fm, ContainerTable ctbl) {
  DBIdentifier tblName = toTableIdentifier(ctbl.schema(), ctbl.name());
  fm.getMappingInfo().setTableIdentifier(tblName);
  parseXJoinColumns(fm, fm.getMappingInfo(), false, ctbl.joinColumns());
  if (ctbl.joinForeignKey().specified())
    parseForeignKey(fm.getMappingInfo(), ctbl.joinForeignKey());
  if (ctbl.joinIndex().specified())
    parseIndex(fm.getMappingInfo(), ctbl.joinIndex());
}
origin: org.apache.openjpa/openjpa-persistence-jdbc

/**
 * Parse @ContainerTable.
 */
protected void parseContainerTable(FieldMapping fm, ContainerTable ctbl) {
  DBIdentifier tblName = toTableIdentifier(ctbl.schema(), ctbl.name());
  fm.getMappingInfo().setTableIdentifier(tblName);
  parseXJoinColumns(fm, fm.getMappingInfo(), false, ctbl.joinColumns());
  if (ctbl.joinForeignKey().specified())
    parseForeignKey(fm.getMappingInfo(), ctbl.joinForeignKey());
  if (ctbl.joinIndex().specified())
    parseIndex(fm.getMappingInfo(), ctbl.joinIndex());
}
origin: org.apache.openjpa/openjpa-all

/**
 * Parse @ContainerTable.
 */
protected void parseContainerTable(FieldMapping fm, ContainerTable ctbl) {
  DBIdentifier tblName = toTableIdentifier(ctbl.schema(), ctbl.name());
  fm.getMappingInfo().setTableIdentifier(tblName);
  parseXJoinColumns(fm, fm.getMappingInfo(), false, ctbl.joinColumns());
  if (ctbl.joinForeignKey().specified())
    parseForeignKey(fm.getMappingInfo(), ctbl.joinForeignKey());
  if (ctbl.joinIndex().specified())
    parseIndex(fm.getMappingInfo(), ctbl.joinIndex());
}
origin: org.apache.openjpa/com.springsource.org.apache.openjpa

case KEY_INDEX:
  KeyIndex kidx = (KeyIndex) anno;
  parseIndex(fm.getKeyMapping().getValueInfo(), kidx.name(),
    kidx.enabled(), kidx.unique());
  break;
case ELEM_INDEX:
  ElementIndex eidx = (ElementIndex) anno;
  parseIndex(fm.getElementMapping().getValueInfo(),
    eidx.name(), eidx.enabled(), eidx.unique());
  break;
  break;
case INDEX:
  parseIndex(fm.getValueInfo(), (Index) anno);
  break;
case NONPOLY:
origin: org.apache.openjpa/openjpa-persistence-jdbc

case KEY_INDEX:
  KeyIndex kidx = (KeyIndex) anno;
  parseIndex(fm.getKeyMapping().getValueInfo(), kidx.name(),
    kidx.enabled(), kidx.unique());
  break;
case ELEM_INDEX:
  ElementIndex eidx = (ElementIndex) anno;
  parseIndex(fm.getElementMapping().getValueInfo(),
    eidx.name(), eidx.enabled(), eidx.unique());
  break;
  break;
case INDEX:
  parseIndex(fm.getValueInfo(), (Index) anno);
  break;
case NONPOLY:
origin: org.apache.openjpa/openjpa-all

case KEY_INDEX:
  KeyIndex kidx = (KeyIndex) anno;
  parseIndex(fm.getKeyMapping().getValueInfo(), kidx.name(),
    kidx.enabled(), kidx.unique());
  break;
case ELEM_INDEX:
  ElementIndex eidx = (ElementIndex) anno;
  parseIndex(fm.getElementMapping().getValueInfo(),
    eidx.name(), eidx.enabled(), eidx.unique());
  break;
  break;
case INDEX:
  parseIndex(fm.getValueInfo(), (Index) anno);
  break;
case NONPOLY:
origin: org.apache.openejb.patch/openjpa

case KEY_INDEX:
  KeyIndex kidx = (KeyIndex) anno;
  parseIndex(fm.getKeyMapping().getValueInfo(), kidx.name(),
    kidx.enabled(), kidx.unique());
  break;
case ELEM_INDEX:
  ElementIndex eidx = (ElementIndex) anno;
  parseIndex(fm.getElementMapping().getValueInfo(),
    eidx.name(), eidx.enabled(), eidx.unique());
  break;
  break;
case INDEX:
  parseIndex(fm.getValueInfo(), (Index) anno);
  break;
case NONPOLY:
org.apache.openjpa.persistence.jdbcAnnotationPersistenceMappingParserparseIndex

Javadoc

Set index data on the given mapping info.

Popular methods of AnnotationPersistenceMappingParser

  • <init>
  • getLog
  • getRepository
  • getSourceFile
  • handleUnknownClassMappingAnnotation
    Allow subclasses to handle unknown annotations.
  • handleUnknownMemberMappingAnnotation
    Allow subclasses to handle unknown annotations.
  • handleUnknownPackageMappingAnnotation
    Allow subclasses to handle unknown annotations.
  • newColumn
    Create a new schema column with information from the given annotation.
  • parseAssociationOverrides
    Parse given @AssociationOverride annotations on an embedded mapping.
  • parseAttributeOverrides
    Parse given @AttributeOverride annotations on an embedded mapping.
  • parseColumns
    Parse @Column(s).
  • parseContainerTable
    Parse @ContainerTable.
  • parseColumns,
  • parseContainerTable,
  • parseDataStoreIdColumn,
  • parseDiscriminatorColumn,
  • parseElementColumns,
  • parseElementJoinColumns,
  • parseEmbeddedMapping,
  • parseEnumerated,
  • parseForeignKey

Popular in Java

  • Reactive rest calls using spring rest template
  • getExternalFilesDir (Context)
  • requestLocationUpdates (LocationManager)
  • getSupportFragmentManager (FragmentActivity)
  • BufferedInputStream (java.io)
    A BufferedInputStream adds functionality to another input stream-namely, the ability to buffer the i
  • FileWriter (java.io)
    A specialized Writer that writes to a file in the file system. All write requests made by calling me
  • PrintStream (java.io)
    Fake signature of an existing Java class.
  • Runnable (java.lang)
    Represents a command that can be executed. Often used to run code in a different Thread.
  • ResourceBundle (java.util)
    ResourceBundle is an abstract class which is the superclass of classes which provide Locale-specifi
  • SAXParseException (org.xml.sax)
    Encapsulate an XML parse error or warning.> This module, both source code and documentation, is in t
  • Best IntelliJ plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now