@Test public void testToString() throws IOException { HoodieTableMetaClient metaClient1 = HoodieTestUtils.init(tempDir.toAbsolutePath().toString(), getTableType()); HoodieTableMetaClient metaClient2 = HoodieTestUtils.init(tempDir.toAbsolutePath().toString(), getTableType()); assertEquals(metaClient1.toString(), metaClient2.toString()); assertNotEquals(metaClient1.toString(), new Object().toString()); }
@Override public String toString() { final StringBuilder sb = new StringBuilder("HoodieTableMetaClient{"); sb.append("basePath='").append(basePath).append('\''); sb.append(", metaPath='").append(metaPath).append('\''); sb.append(", tableType=").append(tableType); sb.append('}'); return sb.toString(); }
HoodieTableMetaClient implements Serializable { @Override public String toString() { final StringBuilder sb = new StringBuilder("HoodieTableMetaClient{"); sb.append("basePath='").append(basePath).append('\''); sb.append(", metaPath='").append(metaPath).append('\''); sb.append(", tableType=").append(tableType); sb.append('}'); return sb.toString(); } }
HoodieTableMetaClient implements Serializable { @Override public String toString() { final StringBuilder sb = new StringBuilder("HoodieTableMetaClient{"); sb.append("basePath='").append(basePath).append('\''); sb.append(", metaPath='").append(metaPath).append('\''); sb.append(", tableType=").append(tableType); sb.append('}'); return sb.toString(); } HoodieTableMetaClient(Configuration conf, String basePath);  HoodieTableMetaClient(Configuration conf, String basePath, String payloadClassName);  HoodieTableMetaClient(Configuration conf, String basePath, boolean loadActiveTimelineOnLoad,
                               ConsistencyGuardConfig consistencyGuardConfig, Option<TimelineLayoutVersion> layoutVersion);  HoodieTableMetaClient(Configuration conf, String basePath, boolean loadActiveTimelineOnLoad);  HoodieTableMetaClient(Configuration conf, String basePath, boolean loadActiveTimelineOnLoad,
                               ConsistencyGuardConfig consistencyGuardConfig, Option<TimelineLayoutVersion> layoutVersion,
                               String payloadClassName);  HoodieTableMetaClient(); }
HoodieTableMetaClient implements Serializable { @Override public String toString() { final StringBuilder sb = new StringBuilder("HoodieTableMetaClient{"); sb.append("basePath='").append(basePath).append('\''); sb.append(", metaPath='").append(metaPath).append('\''); sb.append(", tableType=").append(tableType); sb.append('}'); return sb.toString(); } HoodieTableMetaClient(Configuration conf, String basePath);  HoodieTableMetaClient(Configuration conf, String basePath, String payloadClassName);  HoodieTableMetaClient(Configuration conf, String basePath, boolean loadActiveTimelineOnLoad,
                               ConsistencyGuardConfig consistencyGuardConfig, Option<TimelineLayoutVersion> layoutVersion);  HoodieTableMetaClient(Configuration conf, String basePath, boolean loadActiveTimelineOnLoad);  HoodieTableMetaClient(Configuration conf, String basePath, boolean loadActiveTimelineOnLoad,
                               ConsistencyGuardConfig consistencyGuardConfig, Option<TimelineLayoutVersion> layoutVersion,
                               String payloadClassName);  HoodieTableMetaClient(); static HoodieTableMetaClient reload(HoodieTableMetaClient oldMetaClient); String getBasePath(); HoodieTableType getTableType(); String getMetaPath(); String getTempFolderPath(); String getMarkerFolderPath(String instantTs); String getMetaAuxiliaryPath(); String getBootstrapIndexByPartitionFolderPath(); String getBootstrapIndexByFileIdFolderNameFolderPath(); String getArchivePath(); HoodieTableConfig getTableConfig(); TimelineLayoutVersion getTimelineLayoutVersion(); HoodieWrapperFileSystem getFs(); FileSystem getRawFs(); Configuration getHadoopConf(); synchronized HoodieActiveTimeline getActiveTimeline(); synchronized HoodieActiveTimeline reloadActiveTimeline(); ConsistencyGuardConfig getConsistencyGuardConfig(); synchronized HoodieArchivedTimeline getArchivedTimeline(); static HoodieTableMetaClient initTableTypeWithBootstrap(Configuration hadoopConf, String basePath, HoodieTableType tableType,
                                                                 String tableName, String archiveLogFolder, String payloadClassName,
                                                                 String baseFileFormat, String bootstrapIndexClass,
                                                                 String bootstrapBasePath); static HoodieTableMetaClient initTableType(Configuration hadoopConf, String basePath, HoodieTableType tableType,
                                                    String tableName, String archiveLogFolder, String payloadClassName,
                                                    String baseFileFormat); static HoodieTableMetaClient initTableType(Configuration hadoopConf, String basePath, HoodieTableType tableType,
                                                    String tableName, String payloadClassName); static HoodieTableMetaClient initTableType(Configuration hadoopConf, String basePath, HoodieTableType tableType,
                                                    String tableName, String archiveLogFolder, String payloadClassName,
                                                    Integer timelineLayoutVersion); static HoodieTableMetaClient initTableAndGetMetaClient(Configuration hadoopConf, String basePath,
      Properties props); static void initializeBootstrapDirsIfNotExists(Configuration hadoopConf,
      String basePath, FileSystem fs); static FileStatus[] scanFiles(FileSystem fs, Path metaPath, PathFilter nameFilter); HoodieTimeline getCommitsTimeline(); HoodieTimeline getCommitsAndCompactionTimeline(); HoodieTimeline getCommitTimeline(); String getCommitActionType(); List<HoodieInstant> scanHoodieInstantsFromFileSystem(Set<String> includedExtensions,
      boolean applyLayoutVersionFilters); List<HoodieInstant> scanHoodieInstantsFromFileSystem(Path timelinePath, Set<String> includedExtensions,
      boolean applyLayoutVersionFilters); @Override boolean equals(Object o); @Override int hashCode(); @Override String toString(); void initializeBootstrapDirsIfNotExists(); void setBasePath(String basePath); void setMetaPath(String metaPath); void setActiveTimeline(HoodieActiveTimeline activeTimeline); }
HoodieTableMetaClient implements Serializable { @Override public String toString() { final StringBuilder sb = new StringBuilder("HoodieTableMetaClient{"); sb.append("basePath='").append(basePath).append('\''); sb.append(", metaPath='").append(metaPath).append('\''); sb.append(", tableType=").append(tableType); sb.append('}'); return sb.toString(); } HoodieTableMetaClient(Configuration conf, String basePath);  HoodieTableMetaClient(Configuration conf, String basePath, String payloadClassName);  HoodieTableMetaClient(Configuration conf, String basePath, boolean loadActiveTimelineOnLoad,
                               ConsistencyGuardConfig consistencyGuardConfig, Option<TimelineLayoutVersion> layoutVersion);  HoodieTableMetaClient(Configuration conf, String basePath, boolean loadActiveTimelineOnLoad);  HoodieTableMetaClient(Configuration conf, String basePath, boolean loadActiveTimelineOnLoad,
                               ConsistencyGuardConfig consistencyGuardConfig, Option<TimelineLayoutVersion> layoutVersion,
                               String payloadClassName);  HoodieTableMetaClient(); static HoodieTableMetaClient reload(HoodieTableMetaClient oldMetaClient); String getBasePath(); HoodieTableType getTableType(); String getMetaPath(); String getTempFolderPath(); String getMarkerFolderPath(String instantTs); String getMetaAuxiliaryPath(); String getBootstrapIndexByPartitionFolderPath(); String getBootstrapIndexByFileIdFolderNameFolderPath(); String getArchivePath(); HoodieTableConfig getTableConfig(); TimelineLayoutVersion getTimelineLayoutVersion(); HoodieWrapperFileSystem getFs(); FileSystem getRawFs(); Configuration getHadoopConf(); synchronized HoodieActiveTimeline getActiveTimeline(); synchronized HoodieActiveTimeline reloadActiveTimeline(); ConsistencyGuardConfig getConsistencyGuardConfig(); synchronized HoodieArchivedTimeline getArchivedTimeline(); static HoodieTableMetaClient initTableTypeWithBootstrap(Configuration hadoopConf, String basePath, HoodieTableType tableType,
                                                                 String tableName, String archiveLogFolder, String payloadClassName,
                                                                 String baseFileFormat, String bootstrapIndexClass,
                                                                 String bootstrapBasePath); static HoodieTableMetaClient initTableType(Configuration hadoopConf, String basePath, HoodieTableType tableType,
                                                    String tableName, String archiveLogFolder, String payloadClassName,
                                                    String baseFileFormat); static HoodieTableMetaClient initTableType(Configuration hadoopConf, String basePath, HoodieTableType tableType,
                                                    String tableName, String payloadClassName); static HoodieTableMetaClient initTableType(Configuration hadoopConf, String basePath, HoodieTableType tableType,
                                                    String tableName, String archiveLogFolder, String payloadClassName,
                                                    Integer timelineLayoutVersion); static HoodieTableMetaClient initTableAndGetMetaClient(Configuration hadoopConf, String basePath,
      Properties props); static void initializeBootstrapDirsIfNotExists(Configuration hadoopConf,
      String basePath, FileSystem fs); static FileStatus[] scanFiles(FileSystem fs, Path metaPath, PathFilter nameFilter); HoodieTimeline getCommitsTimeline(); HoodieTimeline getCommitsAndCompactionTimeline(); HoodieTimeline getCommitTimeline(); String getCommitActionType(); List<HoodieInstant> scanHoodieInstantsFromFileSystem(Set<String> includedExtensions,
      boolean applyLayoutVersionFilters); List<HoodieInstant> scanHoodieInstantsFromFileSystem(Path timelinePath, Set<String> includedExtensions,
      boolean applyLayoutVersionFilters); @Override boolean equals(Object o); @Override int hashCode(); @Override String toString(); void initializeBootstrapDirsIfNotExists(); void setBasePath(String basePath); void setMetaPath(String metaPath); void setActiveTimeline(HoodieActiveTimeline activeTimeline); static final String METAFOLDER_NAME; static final String TEMPFOLDER_NAME; static final String AUXILIARYFOLDER_NAME; static final String BOOTSTRAP_INDEX_ROOT_FOLDER_PATH; static final String BOOTSTRAP_INDEX_BY_PARTITION_FOLDER_PATH; static final String BOOTSTRAP_INDEX_BY_FILE_ID_FOLDER_PATH; static final String MARKER_EXTN; }