/** * Factory method to create or return a data page for the * indicated block. */ static FreeLogicalRowIdPage getFreeLogicalRowIdPageView(BlockIo block, int blockSize) { BlockView view = block.getView(); if (view != null && view instanceof FreeLogicalRowIdPage) return (FreeLogicalRowIdPage) view; else return new FreeLogicalRowIdPage(block,blockSize); }
/** * Factory method to create or return a data page for the indicated block. */ static FreePhysicalRowIdPage getFreePhysicalRowIdPageView(BlockIo block,int pageSize) { BlockView view = block.getView(); if (view != null && view instanceof FreePhysicalRowIdPage) return (FreePhysicalRowIdPage) view; else return new FreePhysicalRowIdPage(block, pageSize); }
/** * Factory method to create or return a page header for the * indicated block. */ static PageHeader getView(BlockIo block) { BlockView view = block.getView(); if (view != null && view instanceof PageHeader) return (PageHeader) view; else return new PageHeader(block); }
/** * Factory method to create or return a data page for the indicated block. */ static DataPage getDataPageView(BlockIo block, int blockSize) { BlockView view = block.getView(); if (view != null && view instanceof DataPage) return (DataPage) view; else return new DataPage(block, blockSize); }
/** * Factory method to create or return a data page for the * indicated block. */ static TranslationPage getTranslationPageView(BlockIo block, int blockSize) { BlockView view = block.getView(); if (view != null && view instanceof TranslationPage) return (TranslationPage) view; else return new TranslationPage(block, blockSize); }
/** * Factory method to create or return a data page for the indicated block. */ static DataPage getDataPageView( BlockIo block ) { BlockView view = block.getView(); if ( view != null && view instanceof DataPage ) { return ( DataPage ) view; } else { return new DataPage( block ); } }
/** * Factory method to create or return a page header for the indicated block. */ static PageHeader getView( BlockIo block ) { BlockView view = block.getView(); if ( view != null && view instanceof PageHeader ) { return ( PageHeader ) view; } else { return new PageHeader( block ); } }
/** * Factory method to create or return a data page for the indicated block. */ static DataPage getDataPageView( BlockIo block ) { BlockView view = block.getView(); if ( view != null && view instanceof DataPage ) { return ( DataPage ) view; } else { return new DataPage( block ); } }
/** * Factory method to create or return a data page for the indicated block. */ static FreePhysicalRowIdPage getFreePhysicalRowIdPageView( BlockIo block ) { BlockView view = block.getView(); if ( view != null && view instanceof FreePhysicalRowIdPage ) { return ( FreePhysicalRowIdPage ) view; } else { return new FreePhysicalRowIdPage( block ); } }
/** * Factory method to create or return a data page for the indicated block. */ static FreePhysicalRowIdPage getFreePhysicalRowIdPageView( BlockIo block ) { BlockView view = block.getView(); if ( view != null && view instanceof FreePhysicalRowIdPage ) { return ( FreePhysicalRowIdPage ) view; } else { return new FreePhysicalRowIdPage( block ); } }
/** * Factory method to create or return a data page for the indicated block. */ static TranslationPage getTranslationPageView( BlockIo block ) { BlockView view = block.getView(); if ( view != null && view instanceof TranslationPage ) { return ( TranslationPage ) view; } else { return new TranslationPage( block ); } }
/** * Factory method to create or return a data page for the indicated block. */ static DataPage getDataPageView( BlockIo blockIo ) { BlockView view = blockIo.getView(); if ( ( view != null ) && ( view instanceof DataPage ) ) { return ( DataPage ) view; } else { return new DataPage( blockIo ); } }
/** * Factory method to create or return a data page for the indicated block. */ static FreePhysicalRowIdPage getFreePhysicalRowIdPageView( BlockIo block ) { BlockView view = block.getView(); if ( view != null && view instanceof FreePhysicalRowIdPage ) { return ( FreePhysicalRowIdPage ) view; } else { return new FreePhysicalRowIdPage( block ); } }
/** * Factory method to create or return a data page for the indicated block. */ static FreeLogicalRowIdPage getFreeLogicalRowIdPageView( BlockIo block ) { BlockView view = block.getView(); if ( view != null && view instanceof FreeLogicalRowIdPage ) { return ( FreeLogicalRowIdPage ) view; } else { return new FreeLogicalRowIdPage(block); } }
/** * Factory method to create or return a data page for the indicated block. */ static TranslationPage getTranslationPageView( BlockIo block ) { BlockView view = block.getView(); if ( view != null && view instanceof TranslationPage ) { return ( TranslationPage ) view; } else { return new TranslationPage( block ); } }
/** * Factory method to create or return a data page for the indicated block. */ static FreeLogicalRowIdPage getFreeLogicalRowIdPageView( BlockIo block ) { BlockView view = block.getView(); if ( view != null && view instanceof FreeLogicalRowIdPage ) { return ( FreeLogicalRowIdPage ) view; } else { return new FreeLogicalRowIdPage(block); } }
/** * Factory method to create or return a page header for the indicated block. */ static PageHeader getView ( BlockIo block ) { BlockView view = block.getView(); if ( view != null && view instanceof PageHeader ) { return ( PageHeader ) view; } else { return new PageHeader( block ); } }
/** * Factory method to create or return a data page for the indicated block. */ static TranslationPage getTranslationPageView( BlockIo blockIo ) { BlockView view = blockIo.getView(); if ( ( view != null ) && view instanceof TranslationPage ) { return ( TranslationPage ) view; } else { return new TranslationPage( blockIo ); } }
/** * Factory method to create or return a data page for the indicated block. */ static FreeLogicalRowIdPage getFreeLogicalRowIdPageView( BlockIo blockIo ) { BlockView view = blockIo.getView(); if ( ( view != null ) && ( view instanceof FreeLogicalRowIdPage ) ) { return ( FreeLogicalRowIdPage ) view; } else { return new FreeLogicalRowIdPage( blockIo ); } }
/** * Factory method to create or return a page header for the indicated block. */ static PageHeader getView ( BlockIo blockIo ) { BlockView view = blockIo.getView(); if ( view != null && view instanceof PageHeader ) { return ( PageHeader ) view; } else { return new PageHeader( blockIo ); } }